KR102468082B1 - Correction method for handwriting input, electronic device and storage medium therefor - Google Patents

Correction method for handwriting input, electronic device and storage medium therefor Download PDF

Info

Publication number
KR102468082B1
KR102468082B1 KR1020180111580A KR20180111580A KR102468082B1 KR 102468082 B1 KR102468082 B1 KR 102468082B1 KR 1020180111580 A KR1020180111580 A KR 1020180111580A KR 20180111580 A KR20180111580 A KR 20180111580A KR 102468082 B1 KR102468082 B1 KR 102468082B1
Authority
KR
South Korea
Prior art keywords
handwritten characters
characteristic value
electronic device
font characteristic
display
Prior art date
Application number
KR1020180111580A
Other languages
Korean (ko)
Other versions
KR20200032492A (en
Inventor
신진수
최문원
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020180111580A priority Critical patent/KR102468082B1/en
Priority to PCT/KR2019/011926 priority patent/WO2020060121A1/en
Publication of KR20200032492A publication Critical patent/KR20200032492A/en
Application granted granted Critical
Publication of KR102468082B1 publication Critical patent/KR102468082B1/en

Links

Images

Classifications

    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • 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
    • 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/22Character recognition characterised by the type of writing
    • G06V30/226Character recognition characterised by the type of writing of cursive writing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

다양한 실시 예들에 따르면, 전자 장치는, 디스플레이, 프로세서 및 상기 디스플레이 및 상기 프로세서에 작동적으로 연결되고, 복수의 기준 서체 특성값들을 저장하도록 구성된 메모리를 포함하며, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하고, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하고, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하고, 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하여 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다. 다른 실시 예가 가능하다.According to various embodiments, an electronic device includes a display, a processor, and a memory operatively connected to the display and the processor and configured to store a plurality of reference font characteristic values, wherein the memory, when executed, When writing data is input through the display, the processor recognizes handwritten characters corresponding to the inputted handwriting data, checks font characteristic values for the recognized handwritten characters, and selects among the plurality of standard font characteristic values. Instructions for selecting a reference font characteristic value corresponding to the checked font characteristic value, correcting the handwritten characters based on the selected reference font characteristic value, and displaying the handwritten characters on the display may be stored. Other embodiments are possible.

Description

필기 입력에 대한 보정 방법, 이를 위한 전자 장치 및 저장 매체{CORRECTION METHOD FOR HANDWRITING INPUT, ELECTRONIC DEVICE AND STORAGE MEDIUM THEREFOR}Correction method for handwriting input, electronic device and storage medium therefor

본 발명의 다양한 실시 예들은 필기 입력에 대한 보정 방법 및 이를 위한 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to a correction method for handwriting input and an electronic device therefor.

최근 스마트 폰, 태블릿 PC 또는 웨어러블 디바이스와 같은 휴대가 용이한 전자 장치의 사용이 증가하고 있으며, 사용자는 다양한 입력 수단 예를 들어, 손가락뿐만 아니라 스타일러스 펜과 같은 입력 도구를 이용하여 다양한 기능을 이용할 수 있다. Recently, the use of portable electronic devices such as smart phones, tablet PCs, or wearable devices is increasing, and users can use various functions using various input means, for example, input tools such as a stylus pen as well as a finger. have.

스타일러스 펜을 이용한 입력 방식은 손가락을 이용한 터치 입력 방식에 비해, 보다 정밀한 터치 입력이 가능하므로 메모 또는 스케치와 같은 어플리케이션 수행 시에 보다 유용하게 적용될 수 있다. 또한 필기 입력을 통한 컨텐츠 작성 방식은 내용 작성의 자유도가 높으며, 보다 직관적이며 신속한 입력이 가능하고, 필기한 내용에 대한 문자 인식 기술의 향상으로 인해, 그 활용성도 크게 높아지고 있다. Compared to the touch input method using a finger, the input method using a stylus pen enables more precise touch input, so it can be applied more usefully when performing applications such as memos or sketches. In addition, the content creation method through handwriting input has a high degree of freedom in content creation, enables more intuitive and rapid input, and is highly useful due to the improvement of text recognition technology for handwritten content.

사용자가 필기한 글씨는 스마트 폰과 같은 전자 장치의 특성상 크기와 표면의 특성 또는 사용자의 상황에 따라 많은 오차를 가질 수 있다. 또한, 사용자가 스타일러스 펜을 통해 입력한 필기 글자들은 크기, 자간, 또는 기울기가 달라서 가독성이 떨어질 수 있으며, 획의 불균형, 문장 내 단어 또는 글자의 비균일성으로 인해 오차가 발생할 수 있다. 따라서 필기 입력을 통한 컨텐츠 작성 방식의 활용을 위해 오차에 대한 보정과 미려화 방식에 대한 기술 개발이 이루어지고 있다. Handwriting by a user may have many errors depending on the size and surface characteristics of an electronic device such as a smart phone or the user's situation. In addition, handwritten characters input by the user through the stylus pen may have different sizes, letter spacing, or inclination, which may reduce readability, and errors may occur due to imbalance of strokes or non-uniformity of words or letters in a sentence. Therefore, in order to utilize the content creation method through handwriting input, technology development for error correction and beautifying methods is being performed.

일반적인 필기 보정의 경우 대체적으로 시스템에서 정한 한가지 크기 및 위치를 기준으로 보정이 이루어지며, 기준이 되는 서체 파일 예컨대, 서체 이미지가 필요한 경우가 대부분이다. In the case of general handwriting correction, correction is generally made based on one size and position determined by the system, and in most cases, a standard font file, such as a font image, is required.

이러한 경우 기준 서체 이미지를 저장하기 위한 데이터베이스 형태의 메모리 공간이 요구되며, 필기 입력에 해당하는 필기 글자를 이미지 파일로 처리하기 위한 서체 렌더링으로 인해 많은 리소스가 요구될 수 밖에 없다. 게다가 사용자에 의한 필기 입력은 사용자 고유의 필체를 내포하고 있으나 보정을 통해서는 필체 특성이 손실되거나 필체에 어울리지 않는 보정이 이루어질 수 있다. In this case, a memory space in the form of a database for storing the reference font image is required, and a lot of resources are inevitably required due to font rendering for processing handwritten characters corresponding to handwriting input into image files. In addition, the handwriting input by the user contains the user's own handwriting, but through correction, handwriting characteristics may be lost or corrections that do not suit the handwriting may be made.

이에 따라 사용자의 필체를 유지하면서도 사용자에게 보다 깔끔하게 정렬된 필기 글자들을 간단한 보정을 통해 효과적으로 제공할 수 있는 기술이 요구되고 있다. Accordingly, there is a demand for a technology capable of effectively providing the user with more neatly aligned handwritten characters through simple correction while maintaining the user's handwriting.

다양한 실시 예들에 따르면, 전자 장치는, 디스플레이, 프로세서 및 상기 디스플레이 및 상기 프로세서에 작동적으로 연결되고, 복수의 기준 서체 특성값들을 저장하도록 구성된 메모리를 포함하며, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하고, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하고, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하고, 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하여 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, an electronic device includes a display, a processor, and a memory operatively connected to the display and the processor and configured to store a plurality of reference font characteristic values, wherein the memory, when executed, When writing data is input through the display, the processor recognizes handwritten characters corresponding to the inputted handwriting data, checks font characteristic values for the recognized handwritten characters, and selects among the plurality of standard font characteristic values. Instructions for selecting a reference font characteristic value corresponding to the checked font characteristic value, correcting the handwritten characters based on the selected reference font characteristic value, and displaying the handwritten characters on the display may be stored.

다양한 실시 예들에 따르면, 전자 장치에서 필기 입력에 대한 보정 방법은, 상기 전자 장치의 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하는 동작, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하는 동작, 상기 전자 장치의 메모리에 저장된 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하는 동작 및 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하며, 상기 보정된 필기 글자들을 상기 전자 장치의 디스플레이에 표시하는 동작을 포함할 수 있다. According to various embodiments, a method for correcting handwriting input in an electronic device may include, when writing data is input through a display of the electronic device, recognizing handwritten characters corresponding to the inputted handwriting data, and recognizing the recognized handwritten characters. An operation of checking a font characteristic value for , an operation of selecting a reference font characteristic value corresponding to the checked font characteristic value from among a plurality of reference font characteristic values stored in the memory of the electronic device, and and correcting the handwritten characters based on the method, and displaying the corrected handwritten characters on a display of the electronic device.

다양한 실시 예들에 따르면, 명령들을 저장하고 복수의 기준 서체 특성값들을 저장하고 있는 저장 매체는, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 전자 장치의 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하는 동작, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하는 동작, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하는 동작 및 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 보정하며, 상기 보정된 필기 글자들을 상기 디스플레이에 표시하는 동작을 포함을 포함할 수 있다. According to various embodiments, a storage medium storing instructions and storing a plurality of reference font characteristic values may be configured to cause the at least one processor to perform at least one operation when the instructions are executed by the at least one processor. The at least one operation may include, when writing data is input through a display of an electronic device, recognizing handwritten characters corresponding to the inputted handwriting data, and checking a font characteristic value of the recognized handwritten characters. , an operation of selecting a reference font characteristic value corresponding to the checked font characteristic value from among the plurality of reference font characteristic values, and the location, size, spacing, or character width of the handwritten characters based on the selected reference font characteristic value and correcting at least one of the corrected handwritten characters and displaying the corrected handwritten characters on the display.

다양한 실시 예들에서는, 사용자의 필체를 유지하면서도 사용자에게 보다 깔끔하게 정렬된 필기 글자들을 간단한 보정을 통해 효과적으로 제공할 수 있다. In various embodiments, while maintaining the user's handwriting, more neatly aligned handwritten characters may be effectively provided to the user through simple correction.

또한 다양한 실시 예들에서는, 필기 입력을 보정함에 있어, 서체 특성값에 대응하는 가장 유사한 기준 특성값에 따른 위치 및 크기에 기반함으로써, 빠른 보정이 가능할 수 있다. Also, in various embodiments, in correcting handwriting input, fast correction may be possible by based on the location and size according to the most similar reference characteristic value corresponding to the font characteristic value.

또한, 다양한 실시 예들에서는 필기 입력을 보정함에 있어, 메모리 리소스를 효율적으로 사용하고, 빠른 보정을 제공할 수 있다. In addition, various embodiments may efficiently use memory resources and provide quick correction in correcting handwriting input.

도 1은 본 발명의 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 본 발명의 다양한 실시 예에 따른 전자 장치의 블록도이다.
도 3은 일 실시 예에 따른 전자 장치의 전면의 사시도이다.
도 4는 도 3의 전자 장치의 후면의 사시도이다.
도 5는 도 3의 전자 장치의 전개 사시도이다.
도 6은 본 발명의 다양한 실시 예에 따른 전자 장치에서의 동작 방법을 나타내는 흐름도이다.
도 7은 본 발명의 다양한 실시 예에 따른 전자 장치에서의 상세 동작 방법을 나타내는 흐름도이다.
도 8은 본 발명의 다양한 실시 예에 따른 서체 특성값을 설명하기 위한 예시도이다.
도 9는 본 발명의 다양한 실시 예에 따른 기준 서체 특성값을 설명하기 위한 예시도이다.
도 10은 본 발명의 다양한 실시 예에 따른 필기 글자의 기울기를 보정하는 방법을 설명하기 위한 예시도이다.
도 11은 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 서체 특성값을 확인하는 방법을 설명하기 위한 예시도이다.
도 12는 본 발명의 다양한 실시 예에 따른 기준 서체 특성값에 대한 선택 방법을 설명하기 위한 예시도이다.
도 13a 및 도 13b는 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 보정 단위별 보정 방법을 설명하기 위한 예시도이다.
도 14는 본 발명의 다양한 실시 예에 따른 입력되는 필기 글자들에 대한 보정에 따른 화면 예시도이다.
도 15는 본 발명의 다양한 실시 예에 따른 입력창을 통해 입력되는 필기 글자들에 대한 보정에 따른 화면 예시도이다.
도 16은 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 보정 되돌리기 방법을 설명하기 위한 흐름도이다.
도 17은 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 보정 되돌리기에 따른 화면 예시도이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
2 is a block diagram of an electronic device according to various embodiments of the present disclosure.
3 is a perspective view of the front of an electronic device according to an exemplary embodiment.
4 is a perspective view of the back of the electronic device of FIG. 3;
5 is an exploded perspective view of the electronic device of FIG. 3 .
6 is a flowchart illustrating an operating method in an electronic device according to various embodiments of the present disclosure.
7 is a flowchart illustrating a detailed operation method in an electronic device according to various embodiments of the present disclosure.
8 is an exemplary diagram for explaining font characteristic values according to various embodiments of the present disclosure.
9 is an exemplary view for explaining standard font characteristic values according to various embodiments of the present disclosure.
10 is an exemplary diagram for explaining a method of correcting the inclination of handwritten characters according to various embodiments of the present disclosure.
11 is an exemplary diagram for explaining a method of checking font characteristic values for handwritten characters according to various embodiments of the present disclosure.
12 is an exemplary diagram for explaining a selection method for standard font characteristic values according to various embodiments of the present disclosure.
13A and 13B are exemplary diagrams for explaining a correction method for each correction unit for handwritten characters according to various embodiments of the present disclosure.
14 is an exemplary screen view according to correction of input handwritten characters according to various embodiments of the present disclosure.
15 is an exemplary screen view according to correction of handwritten characters input through an input window according to various embodiments of the present disclosure.
16 is a flowchart illustrating a method of correcting and returning handwritten characters according to various embodiments of the present disclosure.
17 is an exemplary view of a screen according to correction and recovery of handwritten characters according to various embodiments of the present disclosure.

본 문서에서 사용된 용어들은 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 다른 실시 예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 일반적으로 사용되는 사전에 정의된 용어들은 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미를 가지는 것으로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 발명의 실시 예들을 배제하도록 해석될 수 없다.Terms used in this document are only used to describe a specific embodiment, and may not be intended to limit the scope of other embodiments. Singular expressions may include plural expressions unless the context clearly dictates otherwise. All terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the art of the present invention. Terms defined in commonly used dictionaries may be interpreted as having the same or similar meanings as those in the context of the related art, and unless explicitly defined in this document, they are not interpreted in ideal or excessively formal meanings. . In some cases, even terms defined in this document cannot be interpreted to exclude embodiments of the present invention.

도 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), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성 요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다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 is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an 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 device 150, an audio output device 155, a display device 160, an audio module 170, a 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 antenna module 197 ) may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the display device 160 or the camera module 180) may be omitted or one or more other components may be added. In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented while being embedded in the display device 160 (eg, a display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(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 commands or data received from other components (eg, sensor module 176 or communication module 190) to volatile memory 132. , process commands or data stored in the volatile memory 132 , and store resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphic processing unit, an image signal processor) that can operate independently or together with the main processor 121. , sensor hub processor, or communication processor). Additionally or alternatively, the secondary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. 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))의 일부로서 구현될 수 있다. 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 device 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, an image signal processor or a communication processor) may be implemented as part of other functionally related components (eg, the camera module 180 or the communication module 190). have.

메모리(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 device 150 may receive a command or data to be used for a component (eg, the processor 120) of the electronic device 101 from an outside of the electronic device 101 (eg, a user). The input device 150 may include, for example, a microphone, mouse, keyboard, or digital pen (eg, a stylus pen).

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output sound signals to the outside of the electronic device 101 . The audio output device 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, and the receiver can 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)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to an embodiment, the display device 160 may include a touch circuitry set to detect a touch or a sensor circuit (eg, a pressure sensor) set to measure the intensity of force generated by the touch. have.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 acquires sound through the input device 150, the audio output device 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)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(388)은, 예를 들면, 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 388 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 battery, a rechargeable secondary battery, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 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).

이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. Among these communication modules, the corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with an external electronic device via a computer network (eg, a telecommunications network such as a LAN or WAN). These various types of communication modules may be integrated into 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 and authenticated.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module may include one 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. 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, RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 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 electronic devices 102 and 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 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, or client-server computing technology may be used.

도 2는 본 발명의 다양한 실시 예에 따른 전자 장치(101)의 블록도(200)이다. 도 2를 참조하면, 다양한 실시 예에 따른 전자 장치(101)는 사용자의 필기 입력에 대응하여 어플리케이션을 실행하는 장치(예: 스마트 폰, 또는 태블릿 컴퓨터)로서, 프로세서(120), 메모리(130) 및 표시 장치(160)를 포함할 수 있다. 여기서, 도 2에 도시된 모든 구성 요소가 전자 장치(101)의 필수 구성 요소인 것은 아니며, 도 2에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 전자 장치(101)가 구현될 수도 있다. 2 is a block diagram 200 of an electronic device 101 according to various embodiments of the present disclosure. Referring to FIG. 2 , an electronic device 101 according to various embodiments is a device (eg, a smart phone or a tablet computer) that executes an application in response to a user's handwriting input, and includes a processor 120 and a memory 130. and a display device 160 . Here, not all components shown in FIG. 2 are essential components of the electronic device 101, and the electronic device 101 may be implemented with more or fewer components than those shown in FIG. 2 .

도 2를 참조하면, 일 실시 예에서, 전자 장치(101)의 사용자는 표시 장치(160)를 통해 필기 글자들을 입력할 수 있으며, 표시 장치(160)의 화면(예: 디스플레이(210)) 상에 사용자에 의해 입력된 필기 글자들이 표시될 수 있다. 예를 들어, 필기 글자들은 사용자가 직접 수기로 작성한 글자들이기 때문에 필기 글자들의 크기, 배열, 자간, 또는 줄 간격이 일정하지 않을 수 있다. Referring to FIG. 2 , in one embodiment, the user of the electronic device 101 may input handwritten characters through the display device 160, and on the screen of the display device 160 (eg, the display 210). Handwritten characters input by the user may be displayed on . For example, since the handwritten characters are handwritten by the user, the size, arrangement, letter spacing, or line spacing of the handwritten characters may not be constant.

일 실시 예에 따르면, 프로세서(120)는 입력된 필기 데이터를 인식하여 인식된 필기 글자들을 지정된 보정 단위 예컨대, 문장 단위, 어간 단위, 또는 글자 단위 중 어느 하나의 보정 단위로 보정할 수 있다. 예를 들어, 프로세서(120)는 필기 글자들을 구성하는 각 획(또는 스트로크)을 분석함으로써, 필기 글자에 대한 서체 특성값을 확인할 수 있으며, 필기 글자들의 크기, 위치, 또는 자간을 변경할 수 있다. According to an embodiment, the processor 120 may recognize input handwriting data and correct the recognized handwritten characters in a designated correction unit, eg, a sentence unit, a stem unit, or a character unit. For example, the processor 120 may check a font characteristic value of the handwritten characters by analyzing each stroke (or stroke) constituting the handwritten characters, and may change the size, position, or spacing of the handwritten characters.

이와 같이 프로세서(120)는 필기 글자들의 크기, 위치, 또는 자간을 보정함으로써 필기 글자들을 정렬(arrange)할 수 있으며, 정렬된 필기 글자들을 표시 장치(160)의 화면 상에 표시할 수 있다.As such, the processor 120 may arrange the handwritten characters by correcting the size, position, or spacing of the handwritten characters, and display the aligned handwritten characters on the screen of the display device 160 .

표시 장치(160)는 사용자에 의해 입력된 필기 글자들을 표시할 수 있으며, 프로세서(120)에 의해 보정된 필기 글자들을 표시할 수 있다. 또한 표시 장치(160)는 사용자에 의해 입력되는 필체에 대해 컬러, 흑백, 깊이, 또는 돌출과 같은 다양한 시각적 효과를 적용한 필기 글자들을 표시할 수도 있다. The display device 160 may display handwritten characters input by the user and may display handwritten characters corrected by the processor 120 . Also, the display device 160 may display handwritten characters to which various visual effects such as color, black and white, depth, or protrusion are applied to the handwriting input by the user.

도 2에 도시된 바와 같이, 표시 장치(160)는 디스플레이(210), 및 이를 제어하기 위한 디스플레이 드라이버 IC(DDI, display driver IC(integrated circuit))(230)를 포함할 수 있다. DDI(230)는 인터페이스 모듈(231), 메모리(233)(예: 버퍼 메모리), 이미지 처리 모듈(235), 또는 맵핑 모듈(237)을 포함할 수 있다. DDI(230)는, 예를 들면, 영상 데이터, 또는 상기 영상 데이터를 제어하기 위한 명령에 대응하는 영상 제어 신호를 포함하는 영상 정보를 인터페이스 모듈(231)을 통해 전자 장치(101)의 다른 구성요소로부터 수신할 수 있다. 예를 들면, 일 실시 예에 따르면, 영상 정보는 프로세서(120)(예: 도 1의 메인 프로세서(121)(예: 어플리케이션 프로세서) 또는 메인 프로세서(121)의 기능과 독립적으로 운영되는 도 1의 보조 프로세서(123)(예: 그래픽 처리 장치)로부터 수신될 수 있다. As shown in FIG. 2 , the display device 160 may include a display 210 and a display driver integrated circuit (DDI) 230 for controlling the display 210 . The DDI 230 may include an interface module 231 , a memory 233 (eg, a buffer memory), an image processing module 235 , or a mapping module 237 . The DDI 230 transmits, for example, image data or image information including image control signals corresponding to commands for controlling the image data to other components of the electronic device 101 through the interface module 231. can be received from For example, according to an embodiment, the image information is the processor 120 (eg, the main processor 121 (eg, the application processor) of FIG. 1 or the image information of FIG. 1 operated independently of the function of the main processor 121). It may be received from the co-processor 123 (eg, a graphics processing unit).

DDI(230)는 터치 회로(250) 또는 센서 모듈(176)과 상기 인터페이스 모듈(231)을 통하여 커뮤니케이션할 수 있다. 또한, DDI(230)는 상기 수신된 영상 정보 중 적어도 일부를 메모리(233)에, 예를 들면, 프레임 단위로 저장할 수 있다. The DDI 230 may communicate with the touch circuit 250 or the sensor module 176 through the interface module 231 . Also, the DDI 230 may store at least a portion of the received image information in the memory 233, for example, in units of frames.

이미지 처리 모듈(235)은, 예를 들면, 상기 영상 데이터의 적어도 일부를 상기 영상 데이터의 특성 또는 디스플레이(210)의 특성에 적어도 기반하여 전처리 또는 후처리(예: 해상도, 밝기, 또는 크기 조정)를 수행할 수 있다. The image processing module 235 pre-processes or post-processes at least a portion of the image data based on at least the characteristics of the image data or the characteristics of the display 210 (eg, resolution, brightness, or size adjustment). can be performed.

맵핑 모듈(237)은 이미지 처리 모듈(235)을 통해 전처리 또는 후처리된 상기 영상 데이터에 대응하는 전압 값 또는 전류 값을 생성할 수 있다. 일 실시 예에 따르면, 전압 값 또는 전류 값의 생성은 예를 들면, 디스플레이(210)의 픽셀들의 속성(예: 픽셀들의 배열(RGB stripe 또는 pentile 구조), 또는 서브 픽셀들 각각의 크기)에 적어도 일부 기반하여 수행될 수 있다. 디스플레이(210)의 적어도 일부 픽셀들은, 예를 들면, 상기 전압 값 또는 전류 값에 적어도 일부 기반하여 구동됨으로써 상기 영상 데이터에 대응하는 시각적 정보(예: 텍스트, 이미지, 또는 아이콘)가 디스플레이(210)를 통해 표시될 수 있다.The mapping module 237 may generate a voltage value or a current value corresponding to the image data pre-processed or post-processed through the image processing module 235 . According to an embodiment, the generation of the voltage value or the current value depends at least on the properties of the pixels of the display 210 (eg, the arrangement of pixels (RGB stripe or pentile structure) or the size of each sub-pixel). It can be done on some basis. At least some pixels of the display 210 are driven at least partially based on the voltage value or current value, so that visual information (eg, text, image, or icon) corresponding to the image data is displayed on the display 210. can be displayed through

일 실시 예에 따르면, 표시 장치(160)는 터치 회로(250)를 더 포함할 수 있다. 터치 회로(250)는 터치 센서(251) 및 이를 제어하기 위한 터치 센서 IC(253)를 포함할 수 있다. 터치 센서 IC(253)는, 예를 들면, 디스플레이(210)의 특정 위치에 대한 터치 입력 또는 호버링 입력을 감지하기 위해 터치 센서(251)를 제어할 수 있다. 예를 들면, 터치 센서 IC(253)는 디스플레이(210)의 특정 위치에 대한 신호(예: 전압, 광량, 저항, 또는 전하량)의 변화를 측정함으로써 터치 입력 또는 호버링 입력을 감지할 수 있다. 터치 센서 IC(253)는 감지된 터치 입력 또는 호버링 입력에 관한 정보(예: 위치, 면적, 압력, 또는 시간)를 프로세서(120)에 제공할 수 있다. 일 실시 예에 따르면, 터치 회로(250)의 적어도 일부(예: 터치 센서 IC(253))는 디스플레이 드라이버 IC(230), 또는 디스플레이(210)의 일부로, 또는 표시 장치(160)의 외부에 배치된 다른 구성요소(예: 도 1의 보조 프로세서(123))의 일부로 포함될 수 있다.According to an embodiment, the display device 160 may further include a touch circuit 250. The touch circuit 250 may include a touch sensor 251 and a touch sensor IC 253 for controlling the touch sensor 251 . The touch sensor IC 253 may control the touch sensor 251 to detect, for example, a touch input or a hovering input to a specific location of the display 210 . For example, the touch sensor IC 253 may detect a touch input or a hovering input by measuring a change in a signal (eg, voltage, light amount, resistance, or charge amount) for a specific position of the display 210 . The touch sensor IC 253 may provide information (eg, location, area, pressure, or time) on the sensed touch input or hovering input to the processor 120 . According to an embodiment, at least a part of the touch circuit 250 (eg, the touch sensor IC 253) is disposed as a part of the display driver IC 230, a part of the display 210, or outside the display device 160. It may be included as part of other components (eg, the co-processor 123 of FIG. 1).

일 실시 예에 따르면, 표시 장치(160)는 센서 모듈(176)의 적어도 하나의 센서(예: 지문 센서, 홍채 센서, 압력 센서 또는 조도 센서), 또는 이에 대한 제어 회로를 더 포함할 수 있다. 이 경우, 상기 적어도 하나의 센서 또는 이에 대한 제어 회로는 표시 장치(160)의 일부(예: 디스플레이(210) 또는 DDI(230)) 또는 터치 회로(250)의 일부에 임베디드될 수 있다. 예를 들면, 표시 장치(160)에 임베디드된 센서 모듈(176)이 생체 센서(예: 지문 센서)를 포함할 경우, 상기 생체 센서는 디스플레이(210)의 일부 영역을 통해 터치 입력과 연관된 생체 정보(예: 지문 이미지)를 획득할 수 있다. 다른 예를 들면, 표시 장치(160)에 임베디드된 센서 모듈(176)이 압력 센서를 포함할 경우, 상기 압력 센서는 디스플레이(210)의 일부 또는 전체 영역을 통해 터치 입력과 연관된 압력 정보를 획득할 수 있다. 일 실시 예에 따르면, 터치 센서(251) 또는 센서 모듈(176)은 디스플레이(210)의 픽셀 레이어의 픽셀들 사이에, 또는 상기 픽셀 레이어의 위에 또는 아래에 배치될 수 있다.According to an embodiment, the display device 160 may further include at least one sensor (eg, a fingerprint sensor, an iris sensor, a pressure sensor, or an illumination sensor) of the sensor module 176 or a control circuit for the sensor module 176 . In this case, the at least one sensor or a control circuit thereof may be embedded in a part of the display device 160 (eg, the display 210 or the DDI 230) or a part of the touch circuit 250. For example, when the sensor module 176 embedded in the display device 160 includes a biometric sensor (eg, a fingerprint sensor), the biometric sensor is biometric information associated with a touch input through a partial area of the display 210. (e.g. fingerprint image) can be acquired. For another example, when the sensor module 176 embedded in the display device 160 includes a pressure sensor, the pressure sensor may acquire pressure information associated with a touch input through a part or the entire area of the display 210. can According to an embodiment, the touch sensor 251 or the sensor module 176 may be disposed between pixels of a pixel layer of the display 210 or above or below the pixel layer.

상기한 바와 같이 표시 장치(160)는 터치패드가 레이어 구조를 이루어 터치스크린으로 구성되는 경우, 출력 장치뿐만 아니라 입력 장치로도 사용될 수 있다.As described above, when the touch pad is configured as a touch screen by forming a layer structure, the display device 160 may be used as an input device as well as an output device.

일 실시 예에 따르면, 표시 장치(160)를 통해 전자 장치(101)와 연동되는 펜 입력 장치 또는 사용자의 손가락을 이용하여 필기 데이터가 입력됨에 따라 프로세서(120)는 필기 데이터에 대한 정보 예컨대, 글자, 문단, 문장에 대한 정보를 필기 데이터의 비트맵과 함께 획에 대한 필속, 위치, 크기, 또는 패스 정보 중 적어도 하나를 이용하여 확인할 수 있다. According to an embodiment, as writing data is input using a pen input device that works with the electronic device 101 through the display device 160 or a user's finger, the processor 120 processes information about the writing data, such as letters. , paragraph, and sentence information can be checked using at least one of stroke speed, position, size, or path information for stroke along with a bitmap of handwriting data.

일 실시 예에 따르면, 프로세서(220)는 필기 데이터에 대한 문맥적 분석을 위해 인식을 수행하고, 필기 데이터에 대한 보정, 편집, 저장 및 출력에 대한 제어를 수행할 수 있다. 프로세서(120)는 표시 장치(160)를 제어하여, 보정 및 편집된 결과를 표시 장치(160)의 화면 상에 출력할 수 있다. According to an embodiment, the processor 220 may perform recognition for contextual analysis of the handwritten data, and may control correction, editing, storage, and output of the handwritten data. The processor 120 may control the display device 160 to output the corrected and edited result on the screen of the display device 160 .

일 실시 예에 따르면, 필기 글자들의 크기, 위치, 또는 자간과 같은 필기 글자들에 대한 보정(또는 정렬)의 기준을 정하기 위해 인식된 필기 글자에 대한 서체 특성값이 이용될 수 있다. According to an embodiment, a font characteristic value of the recognized handwritten characters may be used to determine a criterion for correction (or alignment) of the handwritten characters, such as size, position, or spacing of the handwritten characters.

본 발명의 다양한 실시 예에 따르면, 필기 글자들을 보정하기 위해서는 보정의 기준이 되는 서체 대조군들의 서체(글꼴) 메트릭(metric) 정보가 필요할 수 있다. 여기서 메트릭 정보는 다양한 서체를 통해 획득된 값들로 메모리(130)에 미리 테이블 또는 데이터베이스 형태로 저장될 수 있다. 메트릭 정보는 서체 파일이 아닌 서체 자체에 대한 특성값을 의미할 수 있다. 일반적으로 서체 파일은 화면에 나타나는 글자의 모양을 점의 집합이 아닌 글자를 구성하는 각 선분이나 곡선 요소의 모임으로 기억하는 벡터 정보를 가진 데이터 집합을 나타내는 것인 반면, 서체 자체에 대한 특성값은 모든 글자에 공통적으로 적용되는 메트릭을 나타낼 수 있다. 예를 들어, 서체는 이엠스퀘어(em-square)(또는 units per em)라는 1000 ~ 2048 사이의 값을 한 변으로 하는 사각형 글자 영역에서 디자인되고, 서체 특성값은 사각형 글자 영역 안에서 정의되기 때문에 그 사각형 글자 영역에 대한 값들을 이용한다면 특정 서체 사이즈에서의 상대적인 특성값도 알 수 있다. According to various embodiments of the present disclosure, in order to correct handwritten characters, font (font) metric information of font control groups serving as a standard for correction may be required. Here, the metric information may be previously stored in the memory 130 in the form of a table or database with values obtained through various fonts. Metric information may refer to a characteristic value of a font itself, not a font file. In general, a font file represents a data set with vector information that remembers the shape of a character appearing on the screen as a collection of each line segment or curve element that makes up the character, rather than a set of points, whereas the characteristic value for the font itself A metric commonly applied to all characters may be indicated. For example, a typeface is designed in a rectangular character area with a value between 1000 and 2048 as one side called em-square (or units per em), and the font properties are defined within the rectangular character area. If the values for the rectangular character area are used, the relative characteristic value in a specific font size can also be known.

일 실시 예에 따르면, 프로세서(120)에서 필기 데이터에 대응하는 필기 글자들에 대한 일부 서체 특성값만 확인한다면, 서체의 모양 예를 들어, 실제 디자인을 몰라도 글자가 배치되는 사각형 영역을 나타내는 디자인 기준값을 알 수 있다. 상기한 바와 같이 서체 파일은 벡터 방식의 데이터 집합이기 때문에 전자 장치(101) 입장에서는 높은 해상도를 필요로 할 뿐만 아니라 복잡한 연산을 거쳐야 하므로 처리 속도가 느린데 반해, 본 발명의 다양한 실시 예에 따른 서체 특성값은 서체 파일 자체나 글자 각각에 대한 정보가 필요 없기 때문에 메모리 리소스 측면에서 효율적일 수 있다. According to an embodiment, if the processor 120 checks only some font characteristic values for handwritten characters corresponding to handwritten data, the shape of the font, for example, a design reference value indicating a rectangular area in which letters are placed without knowing the actual design. can know As described above, since the font file is a data set of a vector method, the electronic device 101 requires not only high resolution but also complex calculations, so the processing speed is slow, whereas the font characteristics according to various embodiments of the present invention Values can be efficient in terms of memory resources because they don't require the font file itself or information about each character.

본 발명의 다양한 실시 예에 따르면, 다양한 서체를 통해 수집되는 메트릭 정보들 예를 들면, 복수의 기준 서체 특성값들은 수직 특성값을 기준으로 보정될 수 있으며, 메모리(130)는 필기 글자들의 크기, 위치, 또는 자간과 같은 정렬의 기준이 되는 복수의 기준 서체 특성값들을 저장할 수 있다. 일 실시 예에서, 전자 장치(101)는 서버(예: 서버(108))를 통하여 새로운 기준 서체를 다운로드 하거나 또는 저장된 서체를 업데이트 할 수 있다. 기준 서체 특성값들 각각은 캡 하이트(cap height), 엑스 하이트(x-height), 디센더(descender) 중 적어도 하나의 수직 특성값을 포함할 수 있다. 사용자별로 다양한 필체가 존재하듯이 서체별로도 캡 하이트, 엑스 하이트, 또는 디센더와 같은 값들이 서로 다를 수 있다. 동일한 서체 예를 들어, 동일한 모양의 글자이더라도 사용자가 필기한 글자의 폭, 또는 크기에 따라 특성값이 달라질 수 있다. According to various embodiments of the present invention, metric information collected through various fonts, for example, a plurality of reference font characteristic values may be corrected based on vertical characteristic values, and the memory 130 may include sizes of handwritten characters, A plurality of reference typeface characteristic values that are criteria for alignment, such as position or spacing, may be stored. In one embodiment, the electronic device 101 may download a new standard font or update a stored font through a server (eg, the server 108). Each of the standard typeface characteristic values may include at least one vertical characteristic value among cap height, x-height, and descender. Just as there are various handwriting types for each user, values such as cap height, x height, or descender may be different for each typeface. Characteristic values may vary according to the width or size of letters handwritten by the user even in the same typeface, for example, letters having the same shape.

만일 시스템에서 정해진 서체 예를 들어, 'Times New Roman' 서체와 'Arial' 서체의 경우 글자 모양은 다를지라도 대문자의 높이를 나타내는 캡 하이트, 소문자의 높이를 나타내는 엑스 하이트, 또는 디센더가 동일할 경우 동일한 서체 특성값을 가질 수 있다. 상기한 바와 같이 복수의 기준 서체 특성값 각각은 서체 모양에 상관없이 적어도 하나의 수직 특성값이 서로 다른 것들로 구성된 기준값을 의미할 수 있다. If the fonts set in the system, for example, 'Times New Roman' and 'Arial' fonts, have the same cap height indicating the height of uppercase letters, x height indicating the height of lowercase letters, or descenders even though the shape of the letters is different. They may have the same typeface property values. As described above, each of the plurality of reference font characteristic values may refer to a reference value composed of at least one vertical characteristic value different from each other regardless of the shape of the font.

본 발명의 다양한 실시 예에 따르면, 프로세서(120)는 사용자가 입력한 필기 데이터를 인식한 필기 글자의 특성값이 메모리(130)에 저장된 복수의 특성값들 중 어떠한 특성값에 해당하는지를 결정하고, 결정된 특성값을 기준으로 필기 글자의 위치, 크기, 또는 자간 중 적어도 일부를 변경하여 보정 및/또는 정렬할 수 있다. According to various embodiments of the present disclosure, the processor 120 determines which characteristic value of a plurality of characteristic values stored in the memory 130 corresponds to a characteristic value of a handwritten character recognized by handwriting data input by a user; Correction and/or alignment may be performed by changing at least a portion of the position, size, or spacing of handwritten characters based on the determined characteristic value.

메모리(130)는, 실행 시에, 프로세서(120)가 각종 동작들을 수행하도록 제어하는 인스트럭션들을 저장할 수 있다. The memory 130 may store instructions that, when executed, control the processor 120 to perform various operations.

본 발명의 다양한 실시 예에 따르면, 전자 장치(101)는 디스플레이(예: 표시 장치(160)), 프로세서(120) 및 상기 디스플레이(예: 표시 장치(160)) 및 상기 프로세서(120)에 작동적으로 연결되고, 복수의 기준 서체 특성값들을 저장하도록 구성된 메모리(130)를 포함하며, 상기 메모리(130)는, 실행 시에, 상기 프로세서(120)가, 상기 디스플레이(예: 표시 장치(160))를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하고, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하고, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하고, 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하여 상기 디스플레이(예: 표시 장치(160))에 표시하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments of the present disclosure, the electronic device 101 operates on a display (eg, the display device 160), a processor 120, and the display (eg, the display device 160) and the processor 120. and a memory 130 configured to store a plurality of reference font characteristic values, wherein the memory 130, when executed, causes the processor 120 to display the display (e.g., the display device 160). )), recognizing handwritten characters corresponding to the input handwriting data, checking font characteristic values for the recognized handwritten characters, and identifying the identified among the plurality of standard font characteristic values. Instructions for selecting a reference font characteristic value corresponding to the font characteristic value, correcting the handwritten characters based on the selected reference font characteristic value, and displaying them on the display (eg, the display device 160) may be stored.

일 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서(120)가, 상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하도록 설정될 수 있다. According to an embodiment, the instructions cause the processor 120 to determine the location, size, spacing, or character width of the handwritten characters based on the location and size of a character area formed by the selected reference font characteristic value. It can be set to adjust at least one of them.

일 실시 예에 따르면, 상기 확인된 서체 특성값은, 상기 필기 글자에 대한 캡 하이트, 엑스 하이트, 또는 디센더 중 적어도 하나의 수직 특성값을 포함할 수 있다. According to an embodiment, the checked typeface characteristic value may include a vertical characteristic value of at least one of a cap height, an x height, and a descender of the handwritten character.

일 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서(120)가, 상기 확인된 서체 특성값에 포함된 적어도 하나의 수직 특성값과, 상기 복수의 기준 서체 특성값들 각각에 포함된 적어도 하나의 수직 특성값 간의 적어도 일부를 비교하도록 설정될 수 있다. According to an embodiment, the instructions may cause the processor 120 to determine at least one vertical characteristic value included in the checked font characteristic value and at least one vertical characteristic value included in each of the plurality of reference font characteristic values. It may be set to compare at least some of the characteristic values.

일 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서(120)가, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택하도록 설정될 수 있다. According to an embodiment, the instructions set the processor 120 to select a reference font characteristic value having a characteristic value having the smallest difference from the checked font characteristic value among the plurality of reference font characteristic values. It can be.

일 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서(120)가, 상기 인식된 필기 글자들에 대한 보정 단위를 확인하고, 상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정하도록 설정될 수 있다. 일 실시 예에 따르면, 상기 보정 단위는 문장 단위, 어간 단위 또는 글자 단위 중 적어도 하나를 포함할 수 있다.According to an embodiment, the instructions set the processor 120 to determine a correction unit for the recognized handwritten characters, and to correct the inclination of the recognized handwritten characters with the identified correction unit. It can be. According to an embodiment, the correction unit may include at least one of a sentence unit, a stem unit, and a character unit.

일 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서(120)가, 상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정한 후 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하도록 하며, 상기 확인된 보정 단위로 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조절하도록 설정될 수 있다.According to an embodiment, the instructions may cause the processor 120 to correct the tilt of the recognized handwritten characters in the identified correction unit and then check the font characteristic values of the recognized handwritten characters. and may be set to adjust at least one of the position, size, letter spacing, or character width of the handwritten characters in the checked correction unit.

일 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서(120)가, 상기 보정된 필기 글자들이 표시되는 상태에서 되돌리기 요청이 수신되면, 상기 되돌리기 요청에 대응하여 상기 보정된 필기 글자들이 표시되기 전 상태 또는 상기 필기 데이터 입력 전 상태에 대응하는 화면을 상기 디스플레이(예: 표시 장치(160))에 출력하도록 설정될 수 있다. According to an embodiment, the instructions may, if the processor 120 receives a request for reverting in a state in which the corrected handwritten characters are displayed, a state before the corrected handwritten characters are displayed in response to the request for reverting, or It may be set to output a screen corresponding to a state before inputting the writing data to the display (eg, the display device 160).

도 3은 일 실시 예에 따른 전자 장치의 전면의 사시도이다. 도 4는 도 3의 전자 장치의 후면의 사시도이다.3 is a perspective view of the front of an electronic device according to an exemplary embodiment. 4 is a perspective view of the back of the electronic device of FIG. 3;

도 3 및 도 4를 참조하면, 일 실시 예에 따른 전자 장치(300)(예: 도 1 및 도 2의 전자 장치(101))는, 제 1 면(또는 전면)(310A), 제 2 면(또는 후면)(310B), 및 제 1 면(310A) 및 제 2 면(310B) 사이의 공간을 둘러싸는 측면(310C)을 포함하는 하우징(310)을 포함할 수 있다. 다른 실시 예(미도시)에서는, 하우징은, 도 3의 제 1 면(310A), 제 2 면(310B) 및 측면(310C)들 중 일부를 형성하는 구조를 지칭할 수도 있다. 일 실시 예에 따르면, 제 1 면(310A)은 적어도 일부분이 실질적으로 투명한 전면 플레이트(302)(예: 다양한 코팅 레이어들을 포함하는 글라스 플레이트, 또는 폴리머 플레이트)에 의하여 형성될 수 있다. 제 2 면(310B)은 실질적으로 불투명한 후면 플레이트(311)에 의하여 형성될 수 있다. 상기 후면 플레이트(311)는, 예를 들어, 코팅 또는 착색된 유리, 세라믹, 폴리머, 금속(예: 알루미늄, 스테인레스 스틸(STS), 또는 마그네슘) 중 적어도 하나, 또는 상기 물질들 중 적어도 둘의 조합에 의하여 형성될 수 있다. 상기 측면(310C)은, 전면 플레이트(302) 및 후면 플레이트(311)와 결합하며, 금속 및/또는 폴리머를 포함하는 측면 베젤 구조 (또는 "측면 부재")(318)에 의하여 형성될 수 있다. 어떤 실시예에서는, 후면 플레이트(311) 및 측면 베젤 구조(318)는 일체로 형성되고 동일한 물질(예: 알루미늄과 같은 금속 물질)을 포함할 수 있다.Referring to FIGS. 3 and 4 , an electronic device 300 (eg, the electronic device 101 of FIGS. 1 and 2 ) according to an exemplary embodiment has a first surface (or front surface) 310A and a second surface. It may include a housing 310 including a (or back) 310B, and a side surface 310C surrounding a space between the first surface 310A and the second surface 310B. In another embodiment (not shown), the housing may refer to a structure forming some of the first surface 310A, the second surface 310B, and the side surface 310C of FIG. 3 . According to one embodiment, the first surface 310A may be formed by at least a portion of a substantially transparent front plate 302 (eg, a glass plate or a polymer plate including various coating layers). The second surface 310B may be formed by a substantially opaque back plate 311 . The rear plate 311 may be, for example, at least one of coated or tinted glass, ceramic, polymer, metal (eg, aluminum, stainless steel (STS), or magnesium), or a combination of at least two of the foregoing materials. can be formed by The side surface 310C may be formed by a side bezel structure (or "side member") 318 coupled to the front plate 302 and the rear plate 311 and including metal and/or polymer. In some embodiments, the back plate 311 and the side bezel structure 318 may be integrally formed and include the same material (eg, a metal material such as aluminum).

도시된 실시예에서는, 상기 전면 플레이트(302)는, 상기 제 1 면(310A)으로부터 상기 후면 플레이트(311) 쪽으로 휘어져 심리스하게(seamless) 연장된 2개의 제 1 영역(310D)들을, 상기 전면 플레이트(302)의 긴 엣지(long edge) 양단에 포함할 수 있다. 도시된 실시예(도 4 참조)에서, 상기 후면 플레이트(311)는, 상기 제 2 면(310B)으로부터 상기 전면 플레이트(302) 쪽으로 휘어져 심리스하게 연장된 2개의 제 2 영역(310E)들을 긴 엣지 양단에 포함할 수 있다. 어떤 실시 예에서는, 상기 전면 플레이트(302)(또는 상기 후면 플레이트(311))가 상기 제 1 영역(310D)들(또는 상기 제 2 영역(310E)들) 중 하나만을 포함할 수 있다. 다른 실시 예에서는, 상기 제 1 영역(310D)들 또는 제 2 영역(310E)들 중 일부가 포함되지 않을 수 있다. 상기 실시 예들에서, 상기 전자 장치(300)의 측면에서 볼 때, 측면 베젤 구조(318)는, 상기와 같은 제 1 영역(310D)들 또는 제 2 영역(310E)들이 포함되지 않는 측면 쪽에서는 제 1 두께(또는 폭)을 가지고, 상기 제 1 영역(310D)들 또는 제 2 영역(310E)들을 포함한 측면 쪽에서는 상기 제 1 두께보다 얇은 제 2 두께를 가질 수 있다.In the illustrated embodiment, the front plate 302 includes two first regions 310D that are bent from the first surface 310A toward the back plate 311 and extend seamlessly, the front plate 310D. It can be included on both ends of the long edge of (302). In the illustrated embodiment (see FIG. 4 ), the back plate 311 has two second regions 310E that are curved and seamlessly extended from the second surface 310B toward the front plate 302 at long edges. Can be included at both ends. In some embodiments, the front plate 302 (or the rear plate 311) may include only one of the first regions 310D (or the second regions 310E). In another embodiment, some of the first regions 310D or the second regions 310E may not be included. In the above embodiments, when viewed from the side of the electronic device 300, the side bezel structure 318 has the first area 310D or the second area 310E as described above. 1 thickness (or width), and may have a second thickness thinner than the first thickness at a side surface including the first regions 310D or the second regions 310E.

일 실시 예에 따르면, 전자 장치(300)는, 디스플레이(301), 오디오 모듈(303, 307, 314), 센서 모듈(304, 316, 319), 카메라 모듈(305, 312, 313), 키 입력 장치(317), 발광 소자(306), 펜 입력 장치(320) 및 커넥터 홀(308, 309) 중 적어도 하나 이상을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(300)는, 구성요소들 중 적어도 하나(예: 키 입력 장치(317), 또는 발광 소자(306))를 생략하거나 다른 구성요소를 추가적으로 포함할 수 있다.According to an embodiment, the electronic device 300 includes a display 301, audio modules 303, 307, and 314, sensor modules 304, 316, and 319, camera modules 305, 312, and 313, and key input. At least one of the device 317, the light emitting element 306, the pen input device 320, and the connector holes 308 and 309 may be included. In some embodiments, the electronic device 300 may omit at least one of the components (eg, the key input device 317 or the light emitting device 306) or may additionally include other components.

디스플레이(301)는, 예를 들어, 전면 플레이트(302)의 상당 부분을 통하여 노출될 수 있다. 어떤 실시 예에서는, 상기 제 1 면(310A), 및 상기 측면(310C)의 제 1 영역(310D)들을 형성하는 전면 플레이트(302)를 통하여 상기 디스플레이(301)의 적어도 일부가 노출될 수 있다. 어떤 실시 예에서는, 디스플레이(301)의 모서리를 상기 전면 플레이트(302)의 인접한 외곽 형상과 대체로 동일하게 형성할 수 있다. 다른 실시 예(미도시)에서는, 디스플레이(301)가 노출되는 면적을 확장하기 위하여, 디스플레이(301)의 외곽과 전면 플레이트(302)의 외곽간의 간격이 대체로 동일하게 형성될 수 있다.The display 301 may be exposed through a substantial portion of the front plate 302, for example. In some embodiments, at least a portion of the display 301 may be exposed through the front plate 302 forming the first area 310D of the first surface 310A and the side surface 310C. In some embodiments, a corner of the display 301 may be substantially identical to an adjacent outer shape of the front plate 302 . In another embodiment (not shown), in order to expand the area where the display 301 is exposed, the distance between the periphery of the display 301 and the periphery of the front plate 302 may be substantially equal.

다른 실시 예(미도시)에서는, 디스플레이(301)의 화면 표시 영역의 일부에 리세스 또는 개구부(opening)을 형성하고, 상기 리세스 또는 상기 개구부(opening)와 정렬되는 오디오 모듈(314), 센서 모듈(304), 카메라 모듈(305), 및 발광 소자(306) 중 적어도 하나 이상을 포함할 수 있다. 다른 실시 예(미도시)에서는, 디스플레이(301)의 화면 표시 영역의 배면에, 오디오 모듈(314), 센서 모듈(304), 카메라 모듈(305), 지문 센서(316), 및 발광 소자(306) 중 적어도 하나 이상을 포함할 수 있다. 다른 실시 예(미도시)에서는, 디스플레이(301)는, 터치 감지 회로, 터치의 세기(압력)를 측정할 수 있는 압력 센서, 및/또는 자기장 방식의 스타일러스 펜을 검출하는 디지타이저와 결합되거나 인접하여 배치될 수 있다. 어떤 실시예에서는, 상기 센서 모듈(304, 319)의 적어도 일부, 및/또는 키 입력 장치(317)의 적어도 일부가, 상기 제 1 영역(310D)들, 및/또는 상기 제 2 영역(310E)들에 배치될 수 있다.In another embodiment (not shown), a recess or an opening is formed in a part of the screen display area of the display 301, and the audio module 314, the sensor aligned with the recess or the opening At least one of the module 304 , the camera module 305 , and the light emitting device 306 may be included. In another embodiment (not shown), on the rear surface of the screen display area of the display 301, the audio module 314, the sensor module 304, the camera module 305, the fingerprint sensor 316, and the light emitting element 306 ) may include at least one of them. In another embodiment (not shown), the display 301 is combined with or adjacent to a touch sensing circuit, a pressure sensor capable of measuring the intensity (pressure) of a touch, and/or a digitizer detecting a magnetic stylus pen. can be placed. In some embodiments, at least a portion of the sensor modules 304 and 319 and/or at least a portion of the key input device 317 may be located in the first regions 310D and/or the second region 310E. can be placed in the field.

오디오 모듈(303, 307, 314)은, 마이크 홀(303) 및 스피커 홀(307, 314)을 포함할 수 있다. 마이크 홀(303)은 외부의 소리를 획득하기 위한 마이크가 내부에 배치될 수 있고, 어떤 실시 예에서는 소리의 방향을 감지할 수 있도록 복수개의 마이크가 배치될 수 있다. 스피커 홀(307, 314)은, 외부 스피커 홀(307) 및 통화용 리시버 홀(314)을 포함할 수 있다. 어떤 실시 예에서는 스피커 홀(307, 314)과 마이크 홀(303)이 하나의 홀로 구현 되거나, 스피커 홀(307, 314) 없이 스피커가 포함될 수 있다(예: 피에조 스피커). The audio modules 303 , 307 , and 314 may include microphone holes 303 and speaker holes 307 and 314 . A microphone for acquiring external sound may be disposed inside the microphone hole 303, and in some embodiments, a plurality of microphones may be disposed to detect the direction of sound. The speaker holes 307 and 314 may include an external speaker hole 307 and a receiver hole 314 for communication. In some embodiments, the speaker holes 307 and 314 and the microphone hole 303 may be implemented as one hole, or a speaker may be included without the speaker holes 307 and 314 (eg, a piezo speaker).

센서 모듈(304, 316, 319)은, 전자 장치(300)의 내부의 작동 상태, 또는 외부의 환경 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 센서 모듈(304, 316, 319)은, 예를 들어, 하우징(310)의 제 1 면(310A)에 배치된 제 1 센서 모듈(304)(예: 근접 센서) 및/또는 제 2 센서 모듈(미도시)(예: 지문 센서), 및/또는 상기 하우징(310)의 제 2 면(310B)에 배치된 제 3 센서 모듈(319)(예: HRM(heart rate monitoring) 센서) 및/또는 제 4 센서 모듈(316) (예: 지문 센서)을 포함할 수 있다. 상기 지문 센서는 하우징(310)의 제 1면(310A)(예: 디스플레이(301)뿐만 아니라 제 2면(310B)에 배치될 수 있다. 전자 장치(300)는, 도시되지 않은 센서 모듈, 예를 들어, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서(304) 중 적어도 하나를 더 포함할 수 있다.The sensor modules 304 , 316 , and 319 may generate electrical signals or data values corresponding to an internal operating state of the electronic device 300 or an external environmental state. The sensor modules 304, 316, and 319 may include, for example, a first sensor module 304 (eg, a proximity sensor) and/or a second sensor module (eg, a proximity sensor) disposed on the first surface 310A of the housing 310. (not shown) (eg, a fingerprint sensor), and/or a third sensor module 319 (eg, a heart rate monitoring (HRM) sensor) disposed on the second surface 310B of the housing 310 and/or 4 sensor module 316 (eg, a fingerprint sensor). The fingerprint sensor may be disposed on the first surface 310A (eg, the display 301 as well as the second surface 310B) of the housing 310. The electronic device 300 includes a sensor module, eg, not shown. For example, at least one of a gesture sensor, a gyro sensor, a pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an IR (infrared) sensor, a bio sensor, a temperature sensor, a humidity sensor, or an illuminance sensor 304 may be further used. can include

카메라 모듈(305, 312, 313)은, 전자 장치(300)의 제 1 면(310A)에 배치된 제 1 카메라 장치(305), 및 제 2 면(310B)에 배치된 제 2 카메라 장치(312), 및/또는 플래시(313)를 포함할 수 있다. 상기 카메라 장치들(305, 312)은, 하나 또는 복수의 렌즈들, 이미지 센서, 및/또는 이미지 시그널 프로세서를 포함할 수 있다. 플래시(313)는, 예를 들어, 발광 다이오드 또는 제논 램프(xenon lamp)를 포함할 수 있다. 어떤 실시 예에서는, 2개 이상의 렌즈들(적외선 카메라, 광각 및 망원 렌즈) 및 이미지 센서들이 전자 장치(300)의 한 면에 배치될 수 있다.The camera modules 305, 312, and 313 include a first camera device 305 disposed on the first surface 310A of the electronic device 300 and a second camera device 312 disposed on the second surface 310B. ), and/or flash 313. The camera devices 305 and 312 may include one or a plurality of lenses, an image sensor, and/or an image signal processor. The flash 313 may include, for example, a light emitting diode or a xenon lamp. In some embodiments, two or more lenses (infrared camera, wide-angle and telephoto lenses) and image sensors may be disposed on one side of the electronic device 300 .

키 입력 장치(317)는, 하우징(310)의 측면(310C)에 배치될 수 있다. 다른 실시 예에서는, 전자 장치(300)는 상기 언급된 키 입력 장치(317) 중 일부 또는 전부를 포함하지 않을 수 있고 포함되지 않은 키 입력 장치(317)는 디스플레이(301) 상에 소프트 키와 같은 다른 형태로 구현될 수 있다. 어떤 실시 예에서, 키 입력 장치는 하우징(310)의 제 2면(310B)에 배치된 센서 모듈(316)을 포함할 수 있다.The key input device 317 may be disposed on the side surface 310C of the housing 310 . In another embodiment, the electronic device 300 may not include some or all of the above-mentioned key input devices 317, and the key input devices 317 that are not included may include soft keys on the display 301. It can be implemented in different forms. In some embodiments, the key input device may include a sensor module 316 disposed on the second surface 310B of the housing 310 .

발광 소자(306)는, 예를 들어, 하우징(310)의 제 1 면(310A)에 배치될 수 있다. 발광 소자(306)는, 예를 들어, 전자 장치(300)의 상태 정보를 광 형태로 제공할 수 있다. 다른 실시 예에서는, 발광 소자(306)는, 예를 들어, 카메라 모듈(305)의 동작과 연동되는 광원을 제공할 수 있다. 발광 소자(306)는, 예를 들어, LED, IR LED 및 제논 램프를 포함할 수 있다.The light emitting device 306 may be disposed on, for example, the first surface 310A of the housing 310 . The light emitting element 306 may provide, for example, state information of the electronic device 300 in the form of light. In another embodiment, the light emitting device 306 may provide, for example, a light source interlocked with the operation of the camera module 305 . The light emitting element 306 may include, for example, an LED, an IR LED, and a xenon lamp.

커넥터 홀(308, 309)은, 외부 전자 장치와 전력 및/또는 데이터를 송수신하기 위한 커넥터(예를 들어, USB 커넥터)를 수용할 수 있는 제 1 커넥터 홀(308), 및/또는 외부 전자 장치와 오디오 신호를 송수신하기 위한 커넥터를 수용할 수 있는 제 2 커넥터 홀(예를 들어, 이어폰 잭)(309)을 포함할 수 있다.The connector holes 308 and 309 include a first connector hole 308 capable of receiving a connector (eg, a USB connector) for transmitting and receiving power and/or data to and from an external electronic device, and/or an external electronic device. and a second connector hole (eg, an earphone jack) 309 capable of accommodating a connector for transmitting and receiving an audio signal.

펜 입력 장치(320)(예: 스타일러스(stylus) 펜)는, 하우징(310)의 측면에 형성된 홀(321)을 통해 하우징(310)의 내부로 안내되어 삽입되거나 탈착될 수 있고, 탈착을 용이하게 하기 위한 버튼을 포함할 수 있다. 펜 입력 장치(320)에는 별도의 공진 회로가 내장되어 상기 전자 장치(300)에 포함된 전자기 유도 패널(예: 디지타이저(digitizer))과 연동될 수 있다. 펜 입력 장치(320)는 EMR(electro-magnetic resonance)방식, AES(active electrical stylus) 및 ECR(electric coupled resonance) 방식을 포함할 수 있다. The pen input device 320 (eg, a stylus pen) is guided into the housing 310 through a hole 321 formed on a side surface of the housing 310 and can be inserted or detached, and can be easily detached. You can include a button to do so. A separate resonant circuit is built into the pen input device 320 and may be interlocked with an electromagnetic induction panel (eg, a digitizer) included in the electronic device 300 . The pen input device 320 may include an electro-magnetic resonance (EMR) method, an active electrical stylus (AES) method, and an electric coupled resonance (ECR) method.

도 5는 도 3의 전자 장치의 전개 사시도이다.5 is an exploded perspective view of the electronic device of FIG. 3 .

도 5를 참조하면, 전자 장치(500)(예: 도 1 및 도 2의 전자 장치(101))는, 측면 베젤 구조(510), 제 1 지지부재(511)(예: 브라켓), 전면 플레이트(520), 디스플레이(530), 인쇄 회로 기판(540), 배터리(550), 제 2 지지부재(560)(예: 리어 케이스), 안테나(570), 후면 플레이트(580), 전자기 유도 패널(590) 및 펜 입력 장치(320)를 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(500)는, 구성요소들 중 적어도 하나(예: 제 1 지지부재(511), 또는 제 2 지지부재(560))를 생략하거나 다른 구성요소를 추가적으로 포함할 수 있다. 전자 장치(500)의 구성요소들 중 적어도 하나는, 도 3, 또는 도 4의 전자 장치(300)의 구성요소들 중 적어도 하나와 동일, 또는 유사할 수 있으며, 중복되는 설명은 이하 생략한다. 또한 도 3 내지 도 5는 도 1의 전자 장치(101)의 외관을 예시하고 있으나 이는 한 실시 예일 뿐, 전자 장치의 외관은 이에 한정되지 않을 수 있다. Referring to FIG. 5 , an electronic device 500 (eg, the electronic device 101 of FIGS. 1 and 2 ) includes a side bezel structure 510, a first support member 511 (eg, a bracket), and a front plate. 520, display 530, printed circuit board 540, battery 550, second support member 560 (eg rear case), antenna 570, rear plate 580, electromagnetic induction panel ( 590) and a pen input device 320. In some embodiments, the electronic device 500 may omit at least one of the components (eg, the first support member 511 or the second support member 560) or may additionally include other components. . At least one of the components of the electronic device 500 may be the same as or similar to at least one of the components of the electronic device 300 of FIG. 3 or 4 , and duplicate descriptions will be omitted below. In addition, although FIGS. 3 to 5 illustrate the appearance of the electronic device 101 of FIG. 1 , this is only an example, and the appearance of the electronic device may not be limited thereto.

전자기 유도 패널(590)(예: 디지타이저(digitizer))은 펜 입력 장치(320)의 입력을 감지하기 위한 패널일 수 있다. 예를 들어, 전자기 유도 패널(590)은 인쇄회로기판(PCB)(예: 연성 인쇄회로기판(FPCB, flexible printed circuit board))과 차폐시트를 포함할 수 있다. 차폐시트는 전자 장치(500) 내에 포함된 컴포넌트들(예: 디스플레이 모듈, 인쇄회로기판, 또는 전자기 유도 패널)로부터 발생된 전자기장에 의한 상기 컴포넌트들 상호 간의 간섭을 방지할 수 있다. 차폐시트는 컴포넌트들로부터 발생된 전자기장을 차단함으로써, 펜 입력 장치(320)로부터의 입력이 전자기 유도 패널(590)에 포함된 코일에 정확하게 전달되도록 할 수 있다. 다양한 실시 예에 따른 전자기 유도 패널(590)은 전자 장치(500)에 실장된 생체 센서에 대응하는 적어도 일부 영역에 형성된 개구부를 포함할 수 있다.The electromagnetic induction panel 590 (eg, a digitizer) may be a panel for sensing an input of the pen input device 320 . For example, the electromagnetic induction panel 590 may include a printed circuit board (PCB) (eg, a flexible printed circuit board (FPCB)) and a shielding sheet. The shielding sheet may prevent interference between components included in the electronic device 500 (eg, a display module, a printed circuit board, or an electromagnetic induction panel) due to electromagnetic fields generated from the components. The shielding sheet blocks electromagnetic fields generated from components, so that an input from the pen input device 320 is accurately transferred to a coil included in the electromagnetic induction panel 590 . The electromagnetic induction panel 590 according to various embodiments may include an opening formed in at least a partial area corresponding to a biometric sensor mounted on the electronic device 500 .

제 1지지부재(511)는, 전자 장치(500) 내부에 배치되어 측면 베젤 구조(510)와 연결될 수 있거나, 측면 베젤 구조(510)와 일체로 형성될 수 있다. 제 1지지부재(511)는, 예를 들어, 금속 재질 및/또는 비금속(예: 폴리머) 재질로 형성될 수 있다. 제 1지지부재(511)는, 일면에 디스플레이(530)가 결합되고 타면에 인쇄 회로 기판(540)이 결합될 수 있다. 인쇄 회로 기판(540)에는, 프로세서, 메모리, 및/또는 인터페이스가 장착될 수 있다. 프로세서는, 예를 들어, 중앙처리장치, 어플리케이션 프로세서, 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서 중 하나 또는 그 이상을 포함할 수 있다.The first support member 511 may be disposed inside the electronic device 500 and connected to the side bezel structure 510 or integrally formed with the side bezel structure 510 . The first support member 511 may be formed of, for example, a metal material and/or a non-metal (eg, polymer) material. The display 530 may be coupled to one surface of the first support member 511 and the printed circuit board 540 may be coupled to the other surface. A processor, memory, and/or interface may be mounted on the printed circuit board 540 . The processor may include, for example, one or more of a central processing unit, an application processor, a graphics processing unit, an image signal processor, a sensor hub processor, or a communication processor.

메모리는, 예를 들어, 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. Memory may include, for example, volatile memory or non-volatile memory.

인터페이스는, 예를 들어, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 및/또는 오디오 인터페이스를 포함할 수 있다. 인터페이스는, 예를 들어, 전자 장치(500)를 외부 전자 장치와 전기적 또는 물리적으로 연결시킬 수 있으며, USB 커넥터, SD 카드/MMC 커넥터, 또는 오디오 커넥터를 포함할 수 있다.The interface may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, and/or an audio interface. The interface may, for example, electrically or physically connect the electronic device 500 with an external electronic device, and may include a USB connector, an SD card/MMC connector, or an audio connector.

배터리(550)는 전자 장치(500)의 적어도 하나의 구성 요소에 전력을 공급하기 위한 장치로서, 예를 들면, 재충전 불가능한 1차 전지, 또는 재충전 가능한 2차 전지, 또는 연료 전지를 포함할 수 있다. 배터리(550)의 적어도 일부는, 예를 들어, 인쇄 회로 기판(540)과 실질적으로 동일 평면 상에 배치될 수 있다. 배터리(550)는 전자 장치(500) 내부에 일체로 배치될 수 있고, 전자 장치(500)와 탈부착 가능하게 배치될 수도 있다.The battery 550 is a device for supplying power to at least one component of the electronic device 500, and may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell. . At least a portion of the battery 550 may be disposed on a substantially coplanar surface with the printed circuit board 540 , for example. The battery 550 may be integrally disposed inside the electronic device 500 or may be disposed detachably from the electronic device 500 .

안테나(570)는, 후면 플레이트(580)와 배터리(550) 사이에 배치될 수 있다. 안테나(570)는, 예를 들어, NFC(near field communication) 안테나, 무선 충전 안테나, 및/또는 MST(magnetic secure transmission) 안테나를 포함할 수 있다. 안테나(570)는, 예를 들어, 외부 장치와 근거리 통신을 하거나, 충전에 필요한 전력을 무선으로 송수신 할 수 있다. 다른 실시 예에서는, 측면 베젤 구조(510) 및/또는 상기 제 1 지지부재(511)의 일부 또는 그 조합에 의하여 안테나 구조가 형성될 수 있다.The antenna 570 may be disposed between the rear plate 580 and the battery 550 . The antenna 570 may include, for example, a near field communication (NFC) antenna, a wireless charging antenna, and/or a magnetic secure transmission (MST) antenna. The antenna 570 may, for example, perform short-range communication with an external device or wirelessly transmit/receive power required for charging. In another embodiment, an antenna structure may be formed by a part of the side bezel structure 510 and/or the first support member 511 or a combination thereof.

도 6은 본 발명의 다양한 실시 예에 따른 전자 장치에서의 동작 방법을 나타내는 흐름도(600)이다. 동작 방법은 605 내지 620 동작들을 포함할 수 있다. 동작 방법의 각 단계/동작은, 전자 장치(예: 도 1 및 도 2의 전자 장치(101), 전자 장치의 적어도 하나의 프로세서(예: 도 1 및 도 2의 프로세서(120)) 중 적어도 하나에 의해 수행될 수 있다. 한 실시 예에서, 605 내지 620 동작들 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.6 is a flowchart 600 illustrating an operating method in an electronic device according to various embodiments of the present disclosure. The operation method may include operations 605 to 620. Each step/operation of the operating method may include at least one of an electronic device (eg, the electronic device 101 of FIGS. 1 and 2 ) and at least one processor (eg, the processor 120 of FIGS. 1 and 2 ) of the electronic device. In one embodiment, at least one of operations 605 to 620 may be omitted, the order of some operations may be changed, or another operation may be added.

전자 장치는 사용자로부터 디스플레이(예: 도 1 및 도 2의 표시 장치(160))를 통해 필기 데이터를 입력받을 수 있으며, 필기 데이터는 전자 장치와 연동되는 펜 입력 장치(예: 펜 입력 장치(320)) 또는 사용자의 손가락을 이용하여 입력될 수 있다. The electronic device may receive handwriting data from a user through a display (eg, the display device 160 of FIGS. 1 and 2 ), and the writing data may be received by a pen input device (eg, the pen input device 320 ) interworking with the electronic device. )) or may be input using a user's finger.

동작 605에서, 전자 장치는 사용자가 입력한 필기 데이터에 대응하는 필기 글자들을 인식할 수 있다. 일 실시 예에 따르면, 전자 장치는 디스플레이를 통해 입력되는 필기 데이터를 인식할 때 획에 대한 정보와 위치를 저장할 수 있다. 전자 장치는 저장된 획에 대한 정보와 위치를 기반으로 인식 알고리즘(또는 인식 엔진)을 이용하여 사용자에 의해 그려지는 필기 글자들을 인식할 수 있다. 예를 들어, 사용자가 직접 필기하는 경우에는 대체적으로 흘림체 형태로 글자를 쓰기 때문에 여러 개의 획들이 이어져서 글자들을 형성할 수 있어 전자 장치에서는 필기 데이터가 어떠한 글자를 나타내는 것인지를 알아야 할 필요가 있다. 이를 위해 전자 장치는 사용자에 의해 그려지는 획과, 실제 글자가 가지고 있는 고유의 획을 비교하여 필기 데이터가 실제 글자인지 아닌지를 식별할 수 있다. 예를 들어, 사용자에 의해 그려지는 필기 데이터를 구성하는 하나 이상의 스트로크(stroke)를 식별하고 해석함으로써 필기 글자를 인식할 수 있다. In operation 605, the electronic device may recognize handwritten characters corresponding to the handwritten data input by the user. According to an embodiment, when recognizing handwriting data input through a display, the electronic device may store stroke information and location. The electronic device may recognize handwritten characters drawn by a user by using a recognition algorithm (or a recognition engine) based on stored stroke information and locations. For example, when a user directly writes a letter, since the letter is generally written in a cursive style, several strokes may be connected to form letters, so the electronic device needs to know what letter the writing data represents. To this end, the electronic device may identify whether or not the handwritten data is an actual letter by comparing a stroke drawn by the user with a unique stroke of the actual letter. For example, handwritten characters may be recognized by identifying and interpreting one or more strokes constituting handwritten data drawn by a user.

동작 610에서, 전자 장치는 인식된 필기 글자들에 대한 서체 특성값을 확인할 수 있다. 일 실시 예에 따르면, 상기 확인된 서체 특성값은 상기 필기 글자에 대한 캡 하이트, 엑스 하이트, 또는 디센더 중 적어도 하나의 수직 특성값을 포함할 수 있다. 또한 확인된 서체 특성값은 상기한 수직 특성값 이외에 어센더와 같은 서체에 대한 사각형 영역을 형성하는 데 사용되는 값이면 모두 가능할 수 있다. In operation 610, the electronic device may check font characteristic values of the recognized handwritten characters. According to an embodiment, the checked typeface characteristic value may include a vertical characteristic value of at least one of a cap height, an x height, and a descender of the handwritten character. In addition, the checked font characteristic values may be any value used to form a rectangular area for a font such as an ascender, in addition to the vertical characteristic values described above.

동작 615에서 전자 장치는 복수의 기준 서체 특성값들 중 확인된 서체 특성값과 가장 유사한 기준 서체 특성값을 선택할 수 있다. 일 실시 예에 따르면, 전자 장치는 상기 확인된 서체 특성값에 포함된 적어도 하나의 수직 특성값과, 상기 복수의 기준 서체 특성값들 각각에 포함된 적어도 하나의 수직 특성값 간의 적어도 일부를 비교할 수 있다. In operation 615, the electronic device may select a reference font characteristic value most similar to the checked font characteristic value from among a plurality of reference font characteristic values. According to an embodiment, the electronic device may compare at least a portion between at least one vertical characteristic value included in the checked font characteristic value and at least one vertical characteristic value included in each of the plurality of reference font characteristic values. have.

예를 들어, 전자 장치는 확인된 서체 특성값의 캡 하이트, 엑스 하이트, 디센더를 상기 복수의 기준 서체 특성값들 각각에 포함된 캡 하이트, 엑스 하이트, 디센더를 서로 각각 비교할 수도 있지만, 확인된 서체 특성값의 캡 하이트, 엑스 하이트, 디센더 중 일부와 상기 복수의 기준 서체 특성값들 각각에 포함된 캡 하이트, 엑스 하이트, 디센더 중 일부만을 서로 비교할 수도 있다. 예를 들어, 전자 장치는 복수의 서체 특성값들 중 적어도 일부인 캡 하이트, 엑스 하이트만을 서로 비교할 수도 있다. For example, the electronic device may compare the cap height, x-height, and descender of the checked font characteristic value with the cap height, x-height, and descender included in each of the plurality of reference font characteristic values, respectively, but A part of the cap height, x-height, and descender of the set font characteristic value may be compared with only a part of the cap height, x-height, and descender included in each of the plurality of standard font characteristic values. For example, the electronic device may compare only a cap height and an x height, which are at least some of the plurality of font characteristic values.

일 실시 예에 따르면, 전자 장치는 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택할 수 있다. 예를 들어, 확인된 서체 특성값의 캡 하이트가 3.8이며, 엑스 하이트가 4.2이며, 디센더가 2라고 할 경우, 복수의 기준 서체 특성값들 중 3.8과 가장 차이가 적은 캡 하이트, 4.2와 가장 차이가 적은 엑스 하이트, 2와 가장 차이가 적은 디센더 중 적어도 일부를 만족하는 서체 특성값을 가지는 기준 서체 선택값을 상기 확인된 서체 특성값에 대응하는 기준값으로 선택할 수 있다. According to an embodiment, the electronic device may select a reference font characteristic value having a characteristic value having the smallest difference from the confirmed font characteristic value among the plurality of reference font characteristic values. For example, if the cap height of the confirmed font feature value is 3.8, the X height is 4.2, and the descender is 2, the cap height has the smallest difference from 3.8 and the smallest difference from 4.2 among the plurality of standard font feature values. A reference font selection value having a font characteristic value that satisfies at least a part of an X height with a small difference and a descender with a smallest difference from 2 may be selected as a reference value corresponding to the checked font characteristic value.

동작 620에서 전자 장치는 선택된 기준 서체 특성값에 기반하여 글자 영역에 상기 필기 글자들을 보정할 수 있다. 글자 영역은 기준 서체 특성값에 의해 형성되는 영역으로 예를 들어, 입력된 필기 데이터의 평균에 기반한 기준선에 기준 서체의 크기를 기준으로 생성되는 영역일 수 있다. 예를 들어, 글자 영역의 형태는 기준선을 한 변으로 하는 필기 글자들을 둘러싸는 사각형일 수 있다. 일 실시 예에 따르면, 전자 장치는 상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 보정하도록 제어할 수 있다. 이때, 보정된 필기 글자들은 표시 장치(160) 상의 화면을 통해 표시될 수 있다. In operation 620, the electronic device may correct the handwritten characters in the character area based on the selected reference font characteristic value. The character area is an area formed by characteristic values of the reference font, and may be, for example, an area created based on the size of the reference font and a reference line based on an average of input handwriting data. For example, the shape of the text area may be a rectangle enclosing handwritten characters having a reference line as one side. According to an embodiment, the electronic device controls to correct at least one of the position, size, spacing, and character width of the handwritten characters based on the location and size of the character area formed by the selected reference font characteristic value. can In this case, the corrected handwritten characters may be displayed on the screen of the display device 160 .

한편, 기준 서체 특성값에 대응하는 글자 영역에 필기 글자들이 정렬될 때, 인식된 필기 글자에 대해 정해진 보정 단위로 보정 및/또는 정렬이 수행될 수 있다. 예를 들어, 보정 단위인 문장 단위, 어절 단위, 또는 글자 단위 중 어느 하나의 보정 단위로 필기 글자들이 보정될 수 있으며, 이에 대한 구체적인 설명은 후술하기로 한다. Meanwhile, when the handwritten characters are aligned in the character area corresponding to the reference font characteristic value, correction and/or alignment may be performed on the recognized handwritten character in a predetermined correction unit. For example, handwritten characters may be corrected in one correction unit among correction units such as a sentence unit, a word unit, or a character unit, which will be described in detail later.

본 발명의 다양한 실시 예에 따른 필기 입력에 대한 보정 방법은, 전자 장치(예: 도 1 및 도 2의 전자 장치(101))의 디스플레이(예: 표시 장치(160))를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하는 동작, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하는 동작, 상기 전자 장치의 메모리에 저장된 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하는 동작 및 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하며, 상기 보정된 필기 글자들을 상기 전자 장치(예: 도 1 및 도 2의 전자 장치(101))의 디스플레이(예: 표시 장치(160))에 표시하는 동작을 포함할 수 있다.A method for correcting handwriting input according to various embodiments of the present disclosure, when writing data is input through a display (eg, the display device 160) of an electronic device (eg, the electronic device 101 of FIGS. 1 and 2 ). , Recognizing handwritten characters corresponding to the input handwritten data, checking font characteristic values for the recognized handwritten characters, and selecting the identified font among a plurality of reference font characteristic values stored in the memory of the electronic device. An operation of selecting a reference font characteristic value corresponding to a font characteristic value and correcting the handwritten characters based on the selected reference font characteristic value, and converting the corrected handwritten characters into the electronic device (e.g., the electronic device of FIGS. 1 and 2). An operation of displaying on a display (eg, the display device 160) of the device 101 may be included.

일 실시 예에 따르면, 상기 필기 글자들을 보정하는 동작은, 상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하는 동작을 포함할 수 있다. According to an embodiment, the operation of correcting the handwritten characters may include at least one of the location, size, spacing, or character width of the handwritten characters based on the location and size of a character area formed by the selected reference font characteristic value. It may include an action to adjust one.

일 실시 예에 따르면, 상기 확인된 서체 특성값은, 상기 필기 글자에 대한 캡 하이트(cap height), 엑스 하이트(x-height), 또는 디센더(descender) 중 적어도 하나의 수직 특성값을 포함할 수 있다. According to an embodiment, the checked typeface characteristic value may include at least one vertical characteristic value of a cap height, an x-height, or a descender of the handwritten character. can

일 실시 예에 따르면, 상기 기준 서체 특성값을 선택하는 동작은, 상기 확인된 서체 특성값에 포함된 적어도 하나의 수직 특성값과, 상기 복수의 기준 서체 특성값들 각각에 포함된 적어도 하나의 수직 특성값 간의 적어도 일부를 비교하는 동작을 포함할 수 있다. According to an embodiment, the operation of selecting the reference font characteristic value includes at least one vertical characteristic value included in the checked font characteristic value and at least one vertical characteristic value included in each of the plurality of reference font characteristic values. An operation of comparing at least some of the characteristic values may be included.

일 실시 예에 따르면, 상기 기준 서체 특성값을 선택하는 동작은, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택하는 동작을 포함할 수 있다. According to an embodiment, the operation of selecting the reference font characteristic value includes an operation of selecting a reference font characteristic value having a characteristic value having the smallest difference from the checked font characteristic value among the plurality of reference font characteristic values. can include

일 실시 예에 따르면, 상기 방법은, 상기 인식된 필기 글자들에 대한 보정 단위를 확인하는 동작 및 상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정하는 동작을 더 포함할 수 있다. According to an embodiment, the method may further include an operation of identifying a correction unit for the recognized handwritten characters and an operation of correcting a slope of the recognized handwritten characters with the identified correction unit. .

일 실시 예에 따르면, 상기 보정 단위는, 문장 단위, 어간 단위 또는 글자 단위 중 적어도 하나를 포함할 수 있다. According to an embodiment, the correction unit may include at least one of a sentence unit, a stem unit, and a character unit.

일 실시 예에 따르면, 상기 필기 글자들을 보정하는 동작은, 상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정한 후 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하는 동작 및 상기 확인된 보정 단위로 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하는 동작을 포함할 수 있다. According to an exemplary embodiment, the correcting of the handwritten characters may include correcting a slope of the recognized handwritten characters in the identified correction unit and then checking a font characteristic value of the recognized handwritten characters; An operation of adjusting at least one of the position, size, letter spacing, or character width of the handwritten characters in the checked correction unit may be included.

일 실시 예에 따르면, 상기 방법은, 상기 보정된 필기 글자들이 표시되는 상태에서 되돌리기 요청이 수신되면, 상기 되돌리기 요청에 대응하여 상기 보정된 필기 글자들이 표시되기 전 상태 또는 상기 필기 데이터 입력 전 상태에 대응하는 화면을 상기 디스플레이에 표시하는 동작을 더 포함할 수 있다. According to an embodiment, in the method, when a request for reverting is received while the corrected handwritten characters are being displayed, the corrected handwritten characters are displayed in response to the reverting request or in a state before the handwritten data is input. An operation of displaying a corresponding screen on the display may be further included.

도 7은 본 발명의 다양한 실시 예에 따른 전자 장치에서의 상세 동작 방법을 나타내는 흐름도(700)이다. 도 7에서는 전자 장치에서의 필기 글자에 대한 상세 보정의 동작 방법을 예시하고 있으며, 동작 방법은 705 내지 745 동작들을 포함할 수 있다. 동작 방법의 각 단계/동작은, 전자 장치(예: 도 1 및 도 2의 전자 장치(101), 전자 장치의 적어도 하나의 프로세서(예: 도 1 및 도 2의 프로세서(120)) 중 적어도 하나에 의해 수행될 수 있다. 한 실시 예에서, 705 내지 745 동작들 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.7 is a flowchart 700 illustrating a detailed operating method in an electronic device according to various embodiments of the present disclosure. 7 illustrates an operation method of detailed correction for handwritten characters in an electronic device, and the operation method may include operations 705 to 745. Each step/operation of the operating method may include at least one of an electronic device (eg, the electronic device 101 of FIGS. 1 and 2 ) and at least one processor (eg, the processor 120 of FIGS. 1 and 2 ) of the electronic device. In one embodiment, at least one of operations 705 to 745 may be omitted, the order of some operations may be changed, or another operation may be added.

동작 705에서, 전자 장치는 사용자로부터 필기 데이터 입력을 수신할 수 있다. 상기 필기 데이터는 전자 장치의 디스플레이를 통해 사용자의 손가락 또는 펜 입력 장치를 이용하여 입력될 수 있다. In operation 705, the electronic device may receive writing data input from the user. The writing data may be input using a user's finger or a pen input device through a display of an electronic device.

동작 710에서, 전자 장치는 입력된 필기 데이터를 인식할 수 있다. 상기 인식 동작은 도 6의 605 동작과 동일하며, 인식 동작을 통해 전자 장치는 인식된 필기 글자들에 대한 획 분류를 수행할 수 있다. 예를 들어, 전자 장치는 획의 시작, 또는 획의 끝과 같은 획 분류를 수행함으로써 획에 대한 정보와 위치를 획득할 수 있으며, 획득된 획에 대한 정보와 위치를 기반으로 사용자가 입력한 필기가 어떠한 글자에 해당하는지를 인식할 수 있다. 예를 들어, 전자 장치는 필기 글자를 구성하는 하나 이상의 획을 나타내는 스트로크(stroke)를 식별하고 해석함으로써 하나의 글자를 인식할 수 있다. 스트로크는 사용자가 손가락 또는 펜 입력 장치를 이용하여 화면을 터치 다운하고 드래그하고 터치 업 하기까지 사용자 입력에 의해 생성되는 복수의 점들을 나타내는 데이터일 수 있다. 일 실시 예에 따르면, 전자 장치는 화면 상의 픽셀들 중에서 필기 글자를 나타내는 픽셀들의 위치 예를 들어, 좌표 값을 획득함으로써 필기 글자를 인식할 수 있으며, 필기 글자를 인식하는 방법은 이에 한정되지 않을 수 있다. In operation 710, the electronic device may recognize input writing data. The recognition operation is the same as operation 605 of FIG. 6 , and through the recognition operation, the electronic device may perform stroke classification on the recognized handwritten characters. For example, the electronic device may acquire information and position of the stroke by performing stroke classification such as the start of the stroke or the end of the stroke, and the handwriting input by the user based on the obtained information and position of the stroke. You can recognize which letter corresponds to. For example, an electronic device may recognize a single character by identifying and interpreting a stroke representing one or more strokes constituting a handwritten character. The stroke may be data representing a plurality of dots generated by user input until the user touches down, drags, and touches up the screen using a finger or a pen input device. According to an embodiment, the electronic device may recognize the handwritten character by obtaining coordinate values, for example, positions of pixels representing the handwritten character among pixels on the screen, and the method of recognizing the handwritten character may not be limited thereto. have.

동작 720에서, 전자 장치는 인식된 필기 글자들에 대한 보정을 위해 지정된(또는 특정된) 보정 단위를 확인할 수 있다. 보정 단위는 문장 단위, 어절 단위, 또는 글자 단위 중 적어도 하나를 포함할 수 있다. 어절 단위는 띄어쓰기(또는 공백)를 기준으로 한 보정 단위일 수 있다. 문장 단위는 마침표와 같은 문장 부호, 또는 펜 입력 장치(예: 펜 입력 장치(320))를 이용한 필기 입력의 해제와 같은 경우를 기준으로 한 보정 단위일 수 있다. 글자 단위는 하나의 필기 글자를 기준으로 한 보정 단위일 수 있다. In operation 720, the electronic device may check a correction unit designated (or specified) for correction of the recognized handwritten characters. The correction unit may include at least one of a sentence unit, a word unit, and a character unit. The word unit may be a correction unit based on spaces (or blanks). The sentence unit may be a correction unit based on a punctuation mark such as a period or cancellation of a handwriting input using a pen input device (eg, the pen input device 320). The character unit may be a correction unit based on one handwritten character.

동작 725에서, 전자 장치는 인식된 필기 글자들에 대해 확인된 보정 단위로 기울기를 보정할 수 있다. 여기서, 기울기 보정은 단어나 글자에 따라 불균형하게 위치가 맞지 않거나 기울기가 어긋난 경우 레이아웃을 균일하게 하는 보정에 해당할 수 있다. 따라서 기울기 보정은 정해진 보정 단위 예컨대, 문장 단위, 어절 단위, 또는 글자 단위에 따라 기울기를 균일하게 하는 동작에 해당할 수 있다. 예를 들어, 문장 단위의 경우 인식된 필기 글자 전체를 상대적인 기준선(baseline)을 기준으로 상기 필기 글자 전체를 둘러싸는 영역의 기울기가 상기 기준선과 나란해지도록 필기 글자들에 대한 기울기를 보정할 수 있다. 다른 예를 들어, 어절 단위의 경우는 필기 글자들 사이의 여백을 기준으로 어절을 분리하고, 분리된 어절에 따른 필기 글자들 각각의 묶음 예를 들어, 단어를 둘러싸는 영역의 기울기를 상기 상대적인 기준선과 비교하여 필기 글자들 각각의 묶음에 대한 기울기를 보정할 수 있다. 일 실시 예에서, 필기 글자의 기울기 보정을 위해 회전시켰을 때 획이 깨지거나 그 필기 글자의 모양에 영향을 주는 경우에는 기울기 보정을 하지 않을 수 있다. 따라서 전자 장치에서는 기울기 보정 시 필기 글자의 획과 모양을 고려하여 기울기 보정 여부를 고려할 수 있다. In operation 725, the electronic device may correct the inclination of the recognized handwritten characters using the identified correction unit. Here, the tilt correction may correspond to correction of making the layout uniform when the position is disproportionately misaligned or the tilt is shifted according to words or letters. Accordingly, tilt correction may correspond to an operation of equalizing a tilt according to a predetermined correction unit, for example, a sentence unit, a word unit, or a character unit. For example, in the case of a sentence unit, the slope of the handwritten characters may be corrected so that the slope of an area surrounding the entire recognized handwritten character is aligned with the baseline based on the relative baseline. . For another example, in the case of a word unit, the words are separated based on the space between the handwritten letters, and each group of handwritten letters according to the separated words, for example, the gradient of the area surrounding the word is determined relative to the reference line. It is possible to correct the inclination of each bundle of handwritten characters by comparing with . In one embodiment, when a stroke is broken or the shape of the handwritten character is affected when the handwritten character is rotated for tilt correction, tilt correction may not be performed. Accordingly, the electronic device may consider whether to perform tilt correction by considering the stroke and shape of handwritten characters when performing tilt correction.

동작 730에서, 전자 장치는 인식된 필기 글자들에 대한 서체 특성값을 확인할 수 있다. 서체 특성값을 확인하는 동작은 사용자의 필체 특성을 파악하는 동작으로, 기준선을 기준으로 보정 단위 내의 필기 글자들에 대한 캡 하이트, 엑스 하이트, 또는 디센더를 산출함으로써 인식된 필기 글자들에 대한 서체 특성값이 정해질 수 있다. 일 실시 예에 따르면, 전자 장치는 상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정한 후 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하도록 하며, 상기 확인된 보정 단위로 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조절할 수 있다. 이때, 전자 장치는 상기 필기 글자들의 위치 및 크기 조절을 위해 기준이 되는 서체 특성값을 결정할 수 있으며, 기준 서체 특성값은 상기 확인된 서체 특성값에 대응하여 결정될 수 있다. In operation 730, the electronic device may check font characteristic values of the recognized handwritten characters. The operation of checking the font characteristic value is an operation of identifying the user's handwriting characteristics, and the font for the recognized handwriting characters is calculated by calculating the cap height, x height, or descender of the handwritten characters in the correction unit based on the reference line. Characteristic values can be set. According to an embodiment, the electronic device corrects the inclination of the recognized handwritten characters in the identified correction unit, and then checks the font characteristic values of the recognized handwritten characters. At least one of the position, size, letter spacing, or character width of the handwritten characters may be adjusted. In this case, the electronic device may determine a standard font characteristic value for adjusting the position and size of the handwritten characters, and the reference font characteristic value may be determined corresponding to the identified font characteristic value.

동작 735에서, 전자 장치는 복수의 기준 서체 특성값들 중 확인된 서체 특성값과 가장 유사한 기준 서체 특성값을 선택할 수 있다. 일 실시 예에 따르면, 전자 장치는 상기 확인된 서체 특성값에 포함된 복수의 수직 특성값과, 상기 복수의 기준 서체 특성값들 각각에 포함된 복수의 수직 특성값 간의 적어도 일부를 비교할 수 있다. 또한 일 실시 예에 따르면, 전자 장치는 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택할 수 있다. In operation 735, the electronic device may select a reference font characteristic value most similar to the checked font characteristic value from among a plurality of reference font characteristic values. According to an embodiment, the electronic device may compare at least a portion of a plurality of vertical characteristic values included in the checked font characteristic values with a plurality of vertical characteristic values included in each of the plurality of reference font characteristic values. Also, according to an embodiment, the electronic device may select a reference font characteristic value having a characteristic value having the smallest difference from the confirmed font characteristic value among the plurality of reference font characteristic values.

동작 740에서, 전자 장치는 선택된 기준 서체 특성값에 기초하여 필기 글자들을 보정할 수 있다. 일 실시 예에 따르면, 전자 장치는 상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 정렬할 수 있다. 상기한 바에서는 보정 단위로 필기 문자들에 대한 기울기를 보정한 후 필기 글자들의 위치, 크기, 자간 또는 글자 폭 중 적어도 하나를 정렬하는 보정을 수행하는 경우를 설명하였으나, 보정 단위를 기준으로 필기 글자들의 기울기, 위치, 크기, 자간 또는 글자 폭을 정렬하는 보정을 동시에 또는 순서에 상관없이 수행할 수도 있다. In operation 740, the electronic device may correct handwritten characters based on the selected reference font characteristic value. According to an embodiment, the electronic device may align at least one of the position, size, spacing, and character width of the handwritten characters based on the location and size of the character area formed by the selected reference font characteristic value. . In the above, the case of correcting the inclination of the handwritten characters in a correction unit and then correcting at least one of the position, size, spacing, or character width of the handwritten characters has been described, but the handwritten characters are based on the correction unit. Correction of aligning the inclination, position, size, character spacing, or character width of the characters may be performed simultaneously or in any order.

동작 745에서, 전자 장치는 보정된 필기 글자들을 표시할 수 있다. 예를 들어, 선택된 기준 서체 특성값에 의해 형성되는 사각형의 글자 영역에 필기 글자가 포함되도록 정렬될 수 있으며, 상기 사각형의 글자 영역의 크기를 갖도록 필기 글자의 크기도 조절될 수 있다. 따라서 글자 단위의 보정의 경우, 선택된 기준 서체 특성값에 의해 형성되는 사각형의 각 글자 영역마다 각 글자 영역의 크기에 맞도록 필기 글자들이 각각 배치되어 표시될 수 있다. 이에 따라 본 발명의 다양한 실시 예에 따르면, 사용자에 의해 입력된 필기체를 최대한 유지하면서도 선택된 기준 서체 특성값에 의해 형성되는 각 글자 영역에 맞도록 필기 글자들이 배열될 수 있다. 따라서 사용자 입장에서는 라인을 기준으로 상하, 자간, 또는 크기가 불균일한 필기 데이터를 입력하더라도 보정을 통해 보다 균일한 크기 및 위치에 배치되는 깔끔하게 정렬된 필기 글씨를 볼 수 있다. In operation 745, the electronic device may display corrected handwritten characters. For example, the handwritten characters may be arranged to be included in a rectangular character area formed by the selected reference typeface characteristic values, and the size of the handwritten characters may be adjusted to have the size of the rectangular character area. Therefore, in the case of character-by-character correction, handwritten characters may be arranged and displayed in accordance with the size of each character area in each of the rectangular character areas formed by the selected reference font characteristic values. Accordingly, according to various embodiments of the present invention, handwritten characters may be arranged to fit each character area formed by the selected standard font characteristic value while maximally maintaining the cursive character input by the user. Therefore, from the user's point of view, even if handwritten data whose top and bottom, letter spacing, or size is non-uniform based on the line is input, it is possible to see neatly aligned handwritten letters arranged in a more uniform size and position through correction.

일 실시 예에 따르면, 보정 동작은 실시간으로 또는 일괄적으로 수행될 수 있다. 예를 들어, 실시간 보정의 경우 사용자가 손가락 또는 펜 입력 장치를 이용하여 화면을 터치 다운하고 드래그하고 터치 업 할 때마다 입력된 필기 글자들에 대한 보정이 수행될 수 있다. 예를 들어, 보정 단위가 어절 단위일 경우 화면의 입력 창에 어절 단위에 대한 보정이 수행될 때마다 일부 필기 글자들이 실시간으로 표시될 수 있다. According to one embodiment, the correction operation may be performed in real time or in batches. For example, in the case of real-time correction, input handwritten characters may be corrected whenever a user touches down, drags, or touches up the screen using a finger or a pen input device. For example, when the correction unit is a word unit, some handwritten characters may be displayed in real time whenever correction for the word unit is performed on the input window of the screen.

일 실시 예에 따르면, 일괄 보정의 경우 사용자가 필기를 하고 있더라도 실제 그려지는 필기만이 표시될 뿐 화면의 입력 창에는 어떠한 필기 글자도 표시되지 않다가 일괄 보정을 통해 보정이 수행된 필기 문자들이 표시될 수도 있다. 여기서, 일괄 보정은 사용자가 문장의 마침표와 같은 부호를 입력하거나 필기 입력의 완료를 나타내는 입력을 할 경우와 같은 다양한 마침 동작에 의해 수행될 수 있다. According to one embodiment, in the case of batch correction, only the handwriting actually drawn is displayed even if the user is writing, and no handwritten characters are displayed in the input window of the screen, but the handwritten characters corrected through batch correction are displayed. It could be. Here, collective correction may be performed by various ending operations, such as when a user inputs a sign such as a period in a sentence or inputs indicating completion of handwriting input.

도 8은 본 발명의 다양한 실시 예에 따른, 서체 특성값을 설명하기 위한 예시도(800)이다. 8 is an exemplary diagram 800 for explaining font characteristic values according to various embodiments of the present disclosure.

도 8을 참조하면, 캡 하이트(cap height)(810)는 대문자의 높이를 나타내며, 대문자 밑변의 기준선(base line)에서 대문자의 머리선(cap line)까지의 거리를 의미할 수 있다. Referring to FIG. 8 , a cap height 810 represents the height of a capital letter and may mean a distance from a base line of a base of a capital letter to a cap line of the capital letter.

엑스 하이트(x-height)(815)는 소문자 'x'의 높이를 나타내며, 기준선(base line)(820)에서 소문자 x의 윗변(mean line)까지의 거리로 x자는 아래 위 끝부분의 높이가 기준선과 일치하기 때문에 기준으로 사용할 수 있다. 엑스 하이트는 글자 몸 전체 높이나 글자 형태의 중요한 요소의 높이를 나타내며, 엑스 하이트의 크기는 같은 포인트의 활자에서도 서체에 따라 다를 수 있다. The x-height 815 represents the height of the lowercase letter 'x', and is the distance from the base line 820 to the mean line of the lowercase letter x. Since it coincides with the baseline, it can be used as a reference. X-height indicates the height of the entire body of a character or the height of an important element in the shape of a character, and the size of X-height may vary depending on the typeface even in a typeface with the same point.

디센더(descender)(또는 디센더 하이트(descender height))(825)는 구문활자에서 소문자의 자체가 나란한 수평선보다 아래로 삐쳐 나온 부분을 나타내며, 바로 g, j, p, q, y의 5문자가 디센더를 가질 수 있다. 서체에 따라 디센더의 길이가 다른데, 밑변에 가상의 디센더 라인을 만들어 사용될 수 있다. Descender (or descender height) 825 represents the part where the lowercase letter itself protrudes below the horizontal line in the syntactic type, and it is the five letters of g, j, p, q, and y may have a descender. Depending on the typeface, the length of the descender is different, but it can be used by creating a virtual descender line on the bottom edge.

상기한 바 이외에 어센더(ascender)(또는 어센더 하이트(ascender height))(805)는 알파벳 소문자의 엑스하이트 위로 올라가는 기둥 줄기를 나타내며, 예를 들어, b, d, h, 또는 l과 같이 x 높이보다 위쪽으로 뻗은 소문자의 윗부분이 해당될 수 있다. In addition to the above, an ascender (or ascender height) 805 represents a column stem that rises above the x height of a lowercase alphabetic character, for example, x, such as b, d, h, or l. The upper part of the lowercase letter extending upward than the height may correspond.

일 실시 예에서, 서체 특성값 추출 시 일부 예외 처리해야 하는 문자(letter)들이 있을 수 있다. 개인마다 서체의 특성이 매우 다양하지만 일부 문자들의 경우 개인 특성이 더욱 크게 나타나는 경향이 있으므로, 이러한 일부 문자들에 대해서는 예외 처리를 할 수 있다. In one embodiment, there may be some letters that need to be treated as exceptions when extracting font feature values. Although the characteristics of fonts vary widely among individuals, some characters tend to have more individual characteristics, so exceptions can be made for some characters.

예를 들어, 라틴어(Latin)의 경우 'Q', 'R'의 아래 획이 튀어나오게 작성하는 경우가 있는데, 이러한 경우 캡 하이트(cap height)를 고려하지 않을 수 있다. 또한, 'i'의 경우에는 글자 몸 전체 높이가 엑스 하이트(x-height)를 넘어서는 경우가 대부분이어서 엑스 하이트(x-height)를 고려하지 않을 수 있다. 또한, 't'와 'f'는 개인마다 매우 다르게 그려지는 문자들 중의 하나로, 'f'의 경우에는 필기체로 적는 경우 디센더(descender) 위치까지 내려서 그려지는 경우가 대부분이기 때문에 예외 처리하는 문자로 고려할 수 있다. 전술한 바에서는 영문을 예로 들어 설명하였지만 본 발명은 이에 한정되지 않을 수 있다. 예를 들어, 한국어, 중국어, 라틴어 또는 러시아어와 같은 다양한 언어도 적용될 수 있다.For example, in the case of Latin, there are cases where the lower strokes of 'Q' and 'R' are written to protrude. In this case, the cap height may not be considered. In addition, in the case of 'i', the height of the entire body of the character exceeds the x-height in most cases, so the x-height may not be considered. In addition, 't' and 'f' are one of the letters that are drawn very differently for each individual, and in the case of 'f', when written in cursive, it is drawn down to the descender position in most cases, so it is an exceptional character. can be considered as Although English has been described as an example in the foregoing, the present invention may not be limited thereto. For example, various languages such as Korean, Chinese, Latin or Russian may also be applied.

한 실시 예에 따르면, 다국어의 경우 표의적인 위치(ideographic position)를 특징으로 추출할 수 있다. 추출된 특징은 탑(top), 센터(center), 또는 보텀(bottom) 중 적어도 하나를 포함할 수 있다. 예를 들어, 라틴어(Latin)의 경우 글자를 '헤드(head), '터미(tummies)', 또는 '테일(tails)'의 그룹으로 묶어서 그룹별로 탑, 또는 보텀을 추출하여 서체 특성값으로 사용할 수 있다. 또한 한국어(Korean)의 경우 '초성 + 중성', 또는 '초성 + 중성 + 받침'의 그룹으로 묶을 수 있다. 또한 아랍어(Arabic)의 경우 '어센더(ascender)', '루프 하이트(loop height)', 투스 하이트(tooth height)', 또는 '디센더1(descender 1)','디센더2(descender 2)'의 그룹으로 묶을 수 있다. 상기와 같이 각 언어에 대해 필기 글자를 그룹으로 묶은 후, 그룹별 탑, 또는 보텀을 추출하여 서체 특성으로 사용할 수 있다. According to one embodiment, in the case of multiple languages, an ideographic position may be extracted as a feature. The extracted features may include at least one of top, center, and bottom. For example, in the case of Latin, letters are grouped into 'head', 'tummies', or 'tails', and the top or bottom is extracted for each group to be used as a font characteristic value. can In addition, in the case of Korean (Korean), it can be grouped into a group of 'initial consonant + neutral' or 'initial consonant + neutral + support'. Also in Arabic, 'ascender', 'loop height', 'tooth height', or 'descender 1', 'descender 2' )'. As described above, after grouping handwritten characters for each language, the top or bottom of each group can be extracted and used as font characteristics.

도 9는 본 발명의 다양한 실시 예에 따른 기준 서체 특성값을 설명하기 위한 예시도(900)이다. 9 is an exemplary view 900 for explaining standard font characteristic values according to various embodiments of the present disclosure.

도 9에서는 메모리(예: 메모리(130, 230))에 저장된 복수의 기준 서체 특성값들을 예시하고 있다. 도 9에 도시된 바와 같이 다양한 서체를 통해 획득된 특성값들은 메모리에 미리 테이블 또는 데이터베이스 형태(910, 920, 930, 940, 950)로 저장될 수 있다. 9 illustrates a plurality of reference font characteristic values stored in a memory (eg, the memories 130 and 230). As shown in FIG. 9 , characteristic values obtained through various fonts may be stored in memory in advance in the form of tables or databases 910 , 920 , 930 , 940 , and 950 .

본 발명의 다양한 실시 예에 따르면, 메모리(예: 메모리(130, 230))에는 서체 이미지 파일이 저장되는 것이 아니라 서체 자체에 대한 특징인 기준 서체 특성값들(915, 925, 935, 945 및 955)이 저장될 수 있다. 예를 들어, 기준 서체 특성값들(915, 925, 935, 945 및 955) 각각은 캡 하이트(cap height), 엑스 하이트(x-height), 또는 디센더(descender) 중 적어도 하나의 수직 특성값을 포함할 수 있다. 여기서, 기준 서체 특성값들은 사용자에 의해 필기된 필기 글자를 정렬하기 위해 기준이 되는 값들로, 기준 서체 특성값에 의해 형성되는 글자의 영역 및 크기에 기초하여, 필기 글자들이 그 글자의 영역 및 크기에 맞게 배치될 수 있다. According to various embodiments of the present invention, not a font image file is stored in a memory (eg, the memories 130 and 230), but reference font characteristic values 915, 925, 935, 945, and 955 that are characteristics of the font itself. ) can be stored. For example, each of the standard typeface characteristic values 915, 925, 935, 945, and 955 is at least one vertical characteristic value of a cap height, an x-height, or a descender. can include Here, the reference font characteristic values are reference values for arranging handwritten characters handwritten by the user, and based on the area and size of the character formed by the reference font characteristic value, the handwritten characters are determined based on the area and size of the character. can be placed accordingly.

예를 들어, 서체는 이엠스퀘어(em-square)(또는 units per em)라는 1000 ~ 2048 사이의 값을 한 변으로 하는 사각형 글자 영역에서 디자인되고, 서체 특성값은 사각형 글자 영역 안에서 정의되기 때문에 그 사각형 글자 영역에 대한 값들을 이용한다면 특정 서체 사이즈에서의 상대적인 특성값도 알 수 있다. 따라서 전자 장치는 메모리(예: 메모리(130))에 저장된 복수의 기준 서체 특성값들 중에서 필기 데이터에 대응하는 필기 글자들에 대한 일부 서체 특성값만 확인한다면, 서체의 모양 예를 들어, 실제 디자인을 몰라도 글자가 배치되는 사각형 영역을 나타내는 디자인 기준값을 결정할 수 있다. For example, a typeface is designed in a rectangular character area with a value between 1000 and 2048 as one side called em-square (or units per em), and the font properties are defined within the rectangular character area. If the values for the rectangular character area are used, the relative characteristic value in a specific font size can also be known. Therefore, if the electronic device checks only some font characteristic values for handwritten characters corresponding to the handwritten data among a plurality of reference font characteristic values stored in a memory (eg, the memory 130), the shape of the font, for example, the actual design You can determine the design standard value representing the rectangular area where the characters are placed without knowing the .

본 발명의 다양한 실시 예에 따르면, 다양한 서체를 통해 수집되는 복수의 기준 서체 특성값들은 수직 특성값을 기준으로 정렬될 수 있으며, 메모리(예: 메모리(130))는 필기 글자들의 크기, 위치, 또는 자간의 정렬의 기준이 되는 복수의 기준 서체 특성값들을 저장할 수 있다. 사용자별로 다양한 필체가 존재하듯이 서체별로도 캡 하이트, 엑스 하이트, 또는 디센더와 같은 값들이 서로 다를 수 있다. 동일한 서체 예를 들어, 동일한 모양의 글자이더라도 사용자가 필기한 글자의 폭, 또는 크기에 따라 특성값이 달라질 수 있다. According to various embodiments of the present invention, a plurality of reference font characteristic values collected through various fonts may be aligned based on vertical characteristic values, and a memory (eg, the memory 130) may include the size, position, and location of handwritten characters. Alternatively, a plurality of reference font characteristic values that are standards for alignment between letters may be stored. Just as there are various handwriting types for each user, values such as cap height, x height, or descender may be different for each typeface. Characteristic values may vary according to the width or size of letters handwritten by the user even in the same typeface, for example, letters having the same shape.

도 9에 도시된 바와 같이 제1 기준 서체 특성값(915)의 경우 제1 서체(911)와 제2 서체(912)의 굵기, 모양, 또는 디자인이 서로 다를지라도 대문자의 높이를 나타내는 캡 하이트가 4, 소문자의 높이를 나타내는 엑스 하이트가 4, 디센더가 2로 동일할 경우 제1 기준 서체 특성값(915)에 해당할 수 있다. 이와 마찬가지로 제2 기준 서체 특성값(925)의 경우에도 제3 서체(921)와 제4 서체(922)의 모양에 상관없이 수직 특성값들이 같은 경우를 예시하고 있으며, 각 기준 서체 특성값(935, 945 및 955)에 서로 다른 서체들(931, 932, 941, 942, 951 및 952)이 굵기, 모양, 디자인에 상관없이 속할 수 있다. As shown in FIG. 9 , in the case of the first reference font characteristic value 915, even if the thickness, shape, or design of the first font 911 and the second font 912 are different, the cap height representing the height of the capital letter When 4, the X height representing the height of a lowercase letter is 4, and the descender is 2, this may correspond to the first reference typeface characteristic value 915. Similarly, in the case of the second standard font characteristic value 925, the case where vertical characteristic values are the same regardless of the shapes of the third font 921 and the fourth font 922 is exemplified, and each standard font characteristic value 935 , 945 and 955) can belong to different typefaces (931, 932, 941, 942, 951 and 952) regardless of thickness, shape and design.

상기한 바와 같이 복수의 기준 서체 특성값 각각은 서체 모양에 상관없이 적어도 하나의 수직 특성값이 서로 다른 것들로 구성된 기준값을 의미할 수 있다. As described above, each of the plurality of reference font characteristic values may refer to a reference value composed of at least one vertical characteristic value different from each other regardless of the shape of the font.

한편, 본 발명의 다양한 실시 예에 따르면, 사용자 필기 입력에 대응하여 인식된 필기 글자에 대해 보정이 이루어진 이후에도 사용자의 필체가 그대로 유지될 수 있지만, 도 9의 도시된 바와 같이 사용자 필체에 대응하는 기준 서체 특성값이 정해지면, 그 기준 서체 특성값에 속하는 다른 서체의 모양으로 대체되도록 설정될 수도 있다. 예를 들어, 사용자에 의해 입력되는 필체가 제1 서체(911)와 유사한 경우 보정을 통해 제2 서체(912)로 변경되어 표시될 수도 있다. On the other hand, according to various embodiments of the present invention, the handwriting of the user may be maintained even after the handwriting recognized in response to the user's handwriting input is corrected, but as shown in FIG. 9 , the criterion corresponding to the user's handwriting When a font characteristic value is determined, it may be set to be replaced with a shape of another font belonging to the standard font characteristic value. For example, if the handwriting input by the user is similar to the first font 911, it may be changed to the second font 912 through correction and displayed.

이를 위해 시스템의 폰트 렌더링을 이용하는 방법이 사용될 수 있다. 폰트 렌더링 방법은 시스템의 폰트 렌더러에 접근할 수 있는 권한이 있을 때 적용 가능한 방법으로, 전자 장치는 상위의 보정 단계에서 얻은 획 및 서체 특성값으로 보정된 위치와 크기 정보를 사용하여 시스템이 사용하는 글자 데이터를 얻을 수 있다. 여기서, 글자 데이터에 대한 정보는 경로 데이터(path data), 최대 진행 폭 (advance x/y), 글자의 크기 및 위치를 포함할 수 있으며, 추가적인 정보도 있을 수 있다. To this end, a method using system font rendering may be used. The font rendering method is a method that can be applied when there is authority to access the font renderer of the system, and the electronic device uses the position and size information corrected with the stroke and typeface characteristic values obtained in the upper correction step to determine the font used by the system. Character data can be obtained. Here, the information on the text data may include path data, maximum advance width (advance x/y), size and position of the text, and may also include additional information.

전자 장치에서는 생성된 글자 데이터를 시스템의 폰트 렌더러에 전달하여 텍스트를 그릴 경우, 필기 렌더링을 위한 별도의 구성부가 필요하지 않을 뿐만 아니라 시스템이 제공하는 다양한 효과를 적용할 수 있다. 예를 들면, 시스템에 설정된 글자 획이 특정 웨이트(weight)를 가져 두껍거나 가늘게 설정된 경우 필기 글자에도 적용 할 수 있으며 감마 보정(gamma correction)도 텍스트뷰(text view)의 값과 동일하게 적용될 수 있다. 이에 따라 그림자나 돌출과 같은 폰트 효과(font effect)도 사용할 수 있다. In an electronic device, when text is drawn by transferring generated character data to a font renderer of a system, a separate component for handwriting rendering is not required and various effects provided by the system can be applied. For example, if the character stroke set in the system has a specific weight and is set thick or thin, it can be applied to handwritten characters as well, and gamma correction can also be applied to the same value as the text view. . Accordingly, font effects such as shadows and protrusions can also be used.

도 10은 본 발명의 다양한 실시 예에 따른 필기 글자의 기울기를 보정하는 방법을 설명하기 위한 예시도이다.10 is an exemplary diagram for explaining a method of correcting the inclination of handwritten characters according to various embodiments of the present disclosure.

도 10에 도시된 바와 같이 사용자가 의해 입력된 필기 글자(1005)의 경우 단어나 글자에 따라 불균형하게 위치가 맞지 않거나 기울기가 어긋날 수 있다. 이러한 경우 전자 장치는 기울기 보정을 통해 레이아웃을 균일하게 하는 보정을 수행할 수 있다. 일 실시 예에 따르면 기울기 보정은 정해진 보정 단위 예컨대, 문장 단위, 어절 단위, 또는 글자 단위에 따라 기울기를 균일하게 하는 동작에 해당할 수 있는데, 도 10에서는 어절 단위로 기울기가 보정된 필기 글자(1010)를 예시하고 있다. As shown in FIG. 10 , in the case of a handwritten character 1005 input by a user, the location may be disproportionately misaligned or the inclination may be off according to words or characters. In this case, the electronic device may perform correction to make the layout uniform through tilt correction. According to an embodiment, the tilt correction may correspond to an operation of equalizing the tilt according to a predetermined correction unit, for example, a sentence unit, a word unit, or a letter unit. In FIG. ) is illustrated.

예를 들어, 문장 단위의 경우 인식된 필기 글자 전체를 상대적인 기준선(baseline)을 기준으로 상기 필기 글자 전체를 둘러싸는 영역의 기울기가 상기 기준선과 나란해지도록 필기 글자들에 대한 기울기를 보정할 수 있다. 마찬가지로 어절 단위의 경우에도 필기 글자들 사이의 여백을 기준으로 어절을 분리하고, 분리된 어절에 따른 필기 글자들 각각의 묶음 예를 들어, 단어를 둘러싸는 영역의 기울기를 상기 상대적인 기준선과 비교하여 필기 글자들 각각의 묶음에 대한 기울기를 보정할 수 있다. For example, in the case of a sentence unit, the slope of the handwritten characters may be corrected so that the slope of an area surrounding the entire recognized handwritten character is aligned with the baseline based on the relative baseline. . Similarly, in the case of word units, words are separated based on the space between the handwritten letters, and each group of handwritten letters according to the separated words, for example, the slope of the area surrounding the word is compared with the relative reference line The tilt of each group of letters can be corrected.

도 11은 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 서체 특성값을 확인하는 방법을 설명하기 위한 예시도이다.11 is an exemplary diagram for explaining a method of checking font characteristic values for handwritten characters according to various embodiments of the present disclosure.

정해진 보정 단위로 필기 글자들에 대한 기울기 보정을 하게 되면 도 11에 도시된 바와 같이 기준선(1115)을 기준으로 기울기가 보정된 필기 글자들(1110)을 획득할 수 있다. 이때, 전자 장치는 기울기가 보정된 필기 글자들(1110)에 대해 서체 특성값을 파악할 수 있는데, 대문자의 높이를 나타내는 캡 하이트(1105)와 소문자의 높이를 나타내는 엑스 하이트(1110)를 비롯하여 디센더를 확인할 수 있다. 상기한 바와 같이 기준선(1115)을 기준으로 보정 단위 내의 필기 글자들에 대한 캡 하이트(1105), 또는 엑스 하이트(1110)와 같은 수직 특성값을 확인하게 되면, 확인된 수직 특성값에 어떠한 기준 서체 특성값이 매칭되는지를 판단할 수 있다. 이를 구체적으로 설명하기 위해 도 12를 참조할 수 있다. When tilt correction is performed on the handwritten characters in a predetermined correction unit, handwritten characters 1110 whose tilt is corrected based on the reference line 1115 can be obtained as shown in FIG. 11 . At this time, the electronic device may determine the font characteristic values of the handwritten characters 1110 whose slant is corrected, including a cap height 1105 indicating the height of uppercase letters and an x height 1110 indicating the height of lowercase letters, as well as a descender. can be checked. As described above, when vertical characteristic values such as cap height 1105 or x height 1110 for the handwritten characters in the correction unit are checked based on the reference line 1115, a standard typeface is selected for the checked vertical characteristic value. It may be determined whether the characteristic values match. 12 may be referred to for a detailed description of this.

도 12는 본 발명의 다양한 실시 예에 따른 기준 서체 특성값에 대한 선택 방법을 설명하기 위한 예시도이다. 도 12에 도시된 바와 같이 필기 문자(1200)에 대한 서체 특성값(1205)의 캡 하이트가 3.8이며, 엑스 하이트가 4.2이며, 디센더가 2라고 판단되면, 복수의 기준 서체 특성값들(1210, 1215, 1220, 1225 및 1230) 중 필기 문자(1200)에 대한 서체 특성값(1205)과 가장 차이가 적은 기준 서체 특성값(1210)이 선택될 수 있다. 12 is an exemplary diagram for explaining a selection method for standard font characteristic values according to various embodiments of the present disclosure. As shown in FIG. 12 , when it is determined that the cap height of the font characteristic value 1205 for the handwritten character 1200 is 3.8, the X height is 4.2, and the descender is 2, a plurality of standard font characteristic values 1210 , 1215, 1220, 1225, and 1230, a reference font characteristic value 1210 having the smallest difference from the font characteristic value 1205 for the handwritten character 1200 may be selected.

도 13a 및 도 13b는 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 보정 단위별 보정 방법을 설명하기 위한 예시도이다.13A and 13B are exemplary diagrams for explaining a correction method for each correction unit for handwritten characters according to various embodiments of the present disclosure.

도 13a에서는 보정 단위별 필기 글자에 대한 보정 방법을 예시하고 있는데, 일 실시 예에서, 어절 단위별 보정의 경우 각 필기 글자들 사이의 띄어쓰기(또는 공백)를 기준으로 필기 글자들에 대한 보정 단위(1306, 1307, 및 1308)가 정해질 수 있다. 따라서 어절 보정 전의 필기 글자들(1305)에 대한 보정이 수행되면 기준선을 기준으로 정렬된 필기 글자들(1310)이 화면에 표시될 수 있다. 13A illustrates a method of correcting handwritten characters for each correction unit. In an embodiment, in the case of correction for each word unit, a correction unit for handwritten characters based on spaces (or blanks) between each handwritten character ( 1306, 1307, and 1308) can be determined. Accordingly, when correction is performed on the handwritten characters 1305 before word correction, the handwritten characters 1310 aligned with respect to the reference line may be displayed on the screen.

다른 실시 예에서, 글자 단위별 보정의 경우 하나의 필기 글자들 각각(1316, 내지 1326)을 기준으로 한 보정으로, 글자 단위 보정 전의 필기 글자들(1315)에 대한 보정이 수행되면 기준선을 기준으로 정렬된 필기 글자들(1320)이 화면에 표시될 수 있다. 사용자가 직접 수기로 작성한 필기 글자들이기 때문에 필기 글자들의 각 글자 크기, 자간, 배열, 또는 줄 간격이 일정하기 않을 수 있는데, 도 13a에 도시된 바와 같이 어절 단위별 또는 글자 단위별로 필기 글자들의 크기, 자간, 또는 상하 위치를 조절하여 정렬함으로써 사용자의 필체를 최대한 유지하면서도 깔끔하게 정렬된 필기 글자들을 표시할 수 있다. 필기 입력의 경우 흘림체뿐만 아니라 글자를 연속해서 이어 쓰는 경우가 있을 수 있다. 글자 단위 보정 전의 필기 글자들(1315)을 예로 들어 설명하면, 만일 사용자가 'h'(1317)와 'e'(1318)를 끊김 없이 이어서 필기한 경우 인식 동작을 통해 전자 장치는 'he'를 'h'와 'e'라는 글자로 인식하지 못하는 상황이 발생할 수도 있기 때문에 어절 단위의 보정 정확도가 글자 단위의 보정 정확도가 높을 수 있다.In another embodiment, in the case of character-by-character correction, correction is performed based on each of the handwritten characters 1316 to 1326, and when correction is performed on the handwritten characters 1315 before character-by-character correction, The aligned handwritten characters 1320 may be displayed on the screen. Since the handwritten letters are handwritten by the user, the size, letter spacing, arrangement, or line spacing of each letter may not be constant. As shown in FIG. It is possible to display handwritten characters that are neatly aligned while maintaining the user's handwriting as much as possible by arranging the spacing or vertical position. In the case of handwriting input, there may be cases in which letters are continuously written in addition to cursive writing. Taking the handwritten characters 1315 before character-by-character correction as an example, if the user writes 'h' 1317 and 'e' 1318 without interruption, the electronic device recognizes 'he' through a recognition operation. Since a situation in which the letters 'h' and 'e' are not recognized may occur, correction accuracy in word units may be higher than correction accuracy in letter units.

또 다른 실시 예에서, 도 13b에서와 같이 필기 글자들(1330)에 대한 위치 및 크기뿐만 아니라 기울기도 함께 보정될 수 있다. 예를 들어, 사용자에 의해 그려진 'the'(1331)와 'quick'(1332)라는 글자의 경우 'the'(1331)와 'quick'(1332) 라는 두 단어의 크기가 서로 다르므로 보정을 통해 'the quick'(1340)에서와 같이 크기가 조절될 수 있으며, 크기가 조절된 필기 글자들이 화면에 표시될 수 있다. 게다가 'the'(1331)의 경우 'the'(1331)를 둘러싸는 영역의 기울기가 상대적인 기준선과 비교하여 기울어져 있으므로, 'the'(1331)에 대한 기울기를 보정한 후 the'(1331)와 'quick'(1332)에 대한 위치, 크기와 같은 보정이 수행될 수 있다. In another embodiment, as shown in FIG. 13B, not only the position and size of the handwritten characters 1330 but also the inclination may be corrected. For example, in the case of the letters 'the' (1331) and 'quick' (1332) drawn by the user, the sizes of the two words 'the' (1331) and 'quick' (1332) are different. As in 'the quick' (1340), the size may be adjusted, and the scaled handwritten characters may be displayed on the screen. In addition, in the case of 'the' (1331), since the slope of the area surrounding 'the' (1331) is tilted compared to the relative baseline, after correcting the slope for 'the' (1331), the 'the' (1331) and Correction such as position and size of 'quick' 1332 may be performed.

일 실시 예에 따르면, 확인된 서체 특성값에 의해 형성되는 글자 영역의 상하 크기를 기준으로 두 단어의 크기는 조정될 수 있다. 이와 유사한 방식으로 두 단어의 크기뿐만 아니라 위치 보정도 수행될 수 있다. 여기서, 필기 글자의 크기 또는 위치를 조정하기 전에 기울기에 대한 보정이 우선 수행되어야 글자 영역의 위치 및 크기를 결정하기 위한 기준선이 정해질 수 있다. According to an embodiment, the size of the two words may be adjusted based on the upper and lower sizes of the character area formed by the checked font characteristic values. In a similar way, not only the size of the two words but also the position can be corrected. Here, before adjusting the size or position of the handwritten character, correction for the inclination must first be performed so that the reference line for determining the position and size of the letter area can be determined.

이와 같이 두 단어의 크기 또는 위치가 조정되더라도 사용자의 필체는 그대로 유지되어 사용자에게 보다 깔끔하게 정렬된 필기 글자들을 효과적으로 보여줄 수 있다. 전술한 바에서는 필기 글자들의 기울기, 위치 및/또는 크기를 조정하는 경우를 예로 들어 설명하였으나, 필기 글자들의 자간, 글자 폭도 함께 조정될 수 있다.As such, even if the size or position of the two words is adjusted, the user's handwriting is maintained, so that handwritten letters arranged more neatly can be effectively shown to the user. In the foregoing, the case of adjusting the inclination, position, and/or size of handwritten characters has been described as an example, but the spacing and width of handwritten characters may also be adjusted.

도 14는 본 발명의 다양한 실시 예에 따른 입력되는 필기 글자들에 대한 보정에 따른 화면 예시도이다. 도 14를 참조하면, 필기 입력이나 스케치와 관련된 어플리케이션 수행에 따른 화면을 예시하고 있다. 첫 번째 화면(1405)에서는 필기 입력 화면 내에 줄이 없는 경우를 예시하고 있으며, 두 번째 화면(1410)에서와 같이 사용자에 의해 필기 문자(1411)가 입력되면, 보정을 통해 세 번째 화면(1415)에서, 필기 글자의 기울기, 위치, 또는 크기가 정렬된 필기 글자(1416)가 표시될 수 있다.14 is an exemplary screen view according to correction of input handwritten characters according to various embodiments of the present disclosure. Referring to FIG. 14 , a screen according to execution of an application related to handwriting input or sketching is illustrated. The first screen 1405 illustrates a case where there is no line in the handwriting input screen, and when a handwritten character 1411 is input by the user as in the second screen 1410, the third screen 1415 is displayed through correction. In , the handwritten characters 1416 aligned in inclination, position, or size of the handwritten characters may be displayed.

도 15는 본 발명의 다양한 실시 예에 따른 입력창을 통해 입력되는 필기 글자들에 대한 보정에 따른 화면 예시도이다. 도 15를 참조하면, 필기 입력이나 스케치와 관련된 어플리케이션이 실행되면 필기 입력 전의 첫 번째 화면(1505)이 표시될 수 있다. 첫 번째 화면(1505)은 별도의 필기 입력창(1508)이 표시되며, 필기 글자가 표시될 위치를 나타내는 커서 역할의 블록(1507)이 표시 영역 상에 표시되는 경우를 예시하고 있다. 15 is an exemplary screen view according to correction of handwritten characters input through an input window according to various embodiments of the present disclosure. Referring to FIG. 15 , when an application related to writing input or sketching is executed, a first screen 1505 before handwriting input may be displayed. The first screen 1505 illustrates a case where a separate handwriting input window 1508 is displayed and a block 1507 serving as a cursor indicating a position where handwritten characters are to be displayed is displayed on the display area.

두 번째 화면(1510)에서와 같이 사용자가 필기 입력창(1508)을 통해 필기 글자(1511)를 입력하게 되면, 표시 영역 내에 보정된 필기 글자(1512)가 표시될 수 있다. 필기 입력창(1508)을 통해 입력하는 필기 글자의 크기 및 상하 위치가 균일하지 않더라도 보정을 통해 필기 글자의 크기, 상하 위치가 정렬되어 표시될 수 있다. As in the second screen 1510, when the user inputs the handwritten character 1511 through the handwriting input window 1508, the corrected handwritten character 1512 may be displayed in the display area. Even if the size and vertical position of handwritten letters input through the handwriting input window 1508 are not uniform, the size and vertical position of handwritten letters may be aligned and displayed through correction.

전술한 두 번째 화면(1510)에서는 필기 글자의 크기, 상하 위치가 정렬되는 경우를 예시하고 있으나 기울기, 자간, 각 글자 폭, 줄 간격과 같은 다양한 요소를 조정하여 정렬할 수 있으며, 세 번째 화면(1515)에서는 크기 및 기울기 보정의 경우를 예시하고 있다. Although the above-mentioned second screen 1510 exemplifies a case in which the size and vertical position of handwritten characters are aligned, it can be aligned by adjusting various factors such as inclination, letter spacing, each character width, and line spacing, and the third screen ( 1515) exemplifies the case of size and tilt correction.

예를 들어, 세 번째 화면(1515)에서와 같이 사용자가 필기 입력창(1508)을 통해 입력한 필기 글자(1513)의 기울기, 또는 크기가 균일하지 않더라도 보정을 통해 필기 글자의 크기, 또는 기울기가 정렬되어 표시 영역 내에 보정된 필기 글자(1514)가 표시될 수 있다. 도 14 및 도 15에서는 사용자가 입력한 필기 글자의 필체가 최대한 유지되면서 그 크기, 자간, 상하 위치, 또는 기울기가 보정된 경우를 예시하고 있으나, 폰트 렌더링을 통해 시스템에서 정한 명도, 조도, 획 두께, 스타일 적용, 또는 폰트 효과 적용과 같은 다양한 효과를 적용한 필기 글자를 표시할 수도 있다. For example, as in the third screen 1515, the slope of the handwritten character 1513 input by the user through the handwriting input window 1508, or the size or slope of the handwritten character through correction even if the size is not uniform The aligned and corrected handwritten characters 1514 may be displayed in the display area. 14 and 15 illustrate a case where the handwriting of the handwritten character input by the user is maintained as much as possible and the size, letter spacing, vertical position, or tilt is corrected, but the brightness, roughness, and stroke thickness determined by the system through font rendering Handwritten characters applied with various effects such as , style application, or font effect application may be displayed.

도 16은 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 보정 되돌리기 방법을 설명하기 위한 흐름도(1600)이다. 동작 방법은 1605 내지 1645 동작들을 포함할 수 있다. 동작 방법의 각 단계/동작은, 전자 장치(예: 도 1 또는 도 2의 전자 장치(101)), 전자 장치의 적어도 하나의 프로세서(예: 도 1 또는 도 2의 프로세서(120)) 중 적어도 하나에 의해 수행될 수 있다. 한 실시 예에서, 1605 내지 1645 동작들 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.16 is a flowchart 1600 for explaining a method of correcting and returning handwritten characters according to various embodiments of the present disclosure. The operation method may include operations 1605 to 1645. Each step/operation of the operating method may include at least one of an electronic device (eg, the electronic device 101 of FIG. 1 or 2 ) and at least one processor (eg, the processor 120 of FIG. 1 or 2 ) of the electronic device. can be done by one. In one embodiment, at least one of operations 1605 to 1645 may be omitted, the order of some operations may be changed, or another operation may be added.

도 16을 참조하면, 사용자는 필기 입력에 대한 보정을 취소하기 위해 되돌리기를 사용할 수도 있고, 필기 입력 작성 자체를 취소하기 위해 되돌리기를 사용할 수도 있다. 만일 필기 입력에 대한 보정을 취소하는 경우에는 보정 후의 필기 입력에 따른 데이터와 보정 전의 필기 입력에 따른 데이터 모두를 임시로 저장해야 함과 동시에 그에 따른 히스토리 데이터도 필요하게 되므로, 필기 입력에 대한 보정이 없는 경우에 비해 2배의 히스토리 데이터가 필요할 수 있다. 또한 필기 입력 자체를 처음으로 되돌리고 싶은 경우 예를 들어, 필기 작성 자체를 취소하고 싶은 경우에는 사용자는 되돌리기를 2회 선택해야 하며, 전자 장치 입장에서는 2회의 되돌리기 선택에 따른 연산을 수행해야 하므로, 불필요한 리소스 소모가 발생할 수 있다. Referring to FIG. 16 , the user may use undo to cancel the correction of the handwriting input or use undo to cancel writing of the handwriting input itself. If the correction for handwriting input is canceled, both the data of the handwriting input after correction and the data of the handwriting input before correction must be temporarily stored, and at the same time, corresponding history data is also required. Twice as much history data may be required compared to the case without it. In addition, if you want to return the handwriting input itself to the beginning, for example, if you want to cancel the writing itself, the user must select undo twice, and the electronic device must perform an operation based on the undo selection twice, so unnecessary Resource consumption may occur.

본 발명의 다양한 실시 예에 따르면, 연산에 따른 리소스 소모를 최소화하기 위해 보정에 대한 히스토리는 가장 최근의 보정 데이터 예를 들어, 마지막 보정 데이터를 제외한 나머지 모든 보정 데이터를 삭제할 수 있다. 일 실시 예에 따르면, 보정에 대한 히스토리는 가장 최근의 1개 또는 N개만 저장할 수 있으며, 그 히스토리의 수는 시스템에 고정 변수로 설정할 수 있다. According to various embodiments of the present disclosure, all correction data except for the most recent correction data, for example, the last correction data, may be deleted from the correction history in order to minimize resource consumption according to operation. According to an embodiment, only one or N most recent correction histories can be stored, and the number of histories can be set as a fixed variable in the system.

이를 구체적으로 설명하기 위해 도 16을 참조하면, 동작 1605에서, 전자 장치는 필기 데이터가 입력되는지를 판단할 수 있다. 만일 필기 데이터가 입력되면, 동작 1610에서, 전자 장치는 입력되는 필기 데이터에 대한 히스토리를 저장할 수 있다. Referring to FIG. 16 to explain this in detail, in operation 1605, the electronic device may determine whether writing data is input. If writing data is input, in operation 1610, the electronic device may store a history of the input writing data.

동작 1615에서, 전자 장치는 입력된 필기 데이터에 대응하는 필기 글자들을 인식 후 보정을 수행할 수 있다. 여기서, 동작 1605 내지 1615에서의 각 기능은 도 6의 동작 605 내지 620 또는 도 7의 동작 705 내지 745와 동일하므로, 그 구체적인 설명은 생략하기로 한다.In operation 1615, the electronic device may perform correction after recognizing handwritten characters corresponding to the input handwritten data. Here, since each function in operations 1605 to 1615 is the same as operations 605 to 620 of FIG. 6 or operations 705 to 745 of FIG. 7 , a detailed description thereof will be omitted.

동작 1620에서, 전자 장치는 보정에 따른 히스토리 데이터가 둘 이상인지를 판단할 수 있다. 예를 들어, 사용자가 손가락 또는 펜 입력 장치를 이용하여 화면을 터치 다운하고 드래그하고 터치 업 하는 동작을 1번 했을 경우 필기 글자들이 보정될 수 있다. 따라서 이러한 동작을 반복하게 되면 순차적으로 보정된 필기 글자들이 표시될 수 있으며, 이에 따라 보정에 따른 히스토리 데이터도 둘 이상이 될 수 있다. 예를 들어, 사용자가 한 글자씩 필기할 때마다 글자 단위로 보정이 수행될 수도 있으며, 이에 대응하여 한 글자씩 보정된 필기 글자가 순차적으로 표시될 수 있다.In operation 1620, the electronic device may determine whether there are two or more pieces of history data according to correction. For example, when a user touches down, drags, and touches up the screen using a finger or a pen input device once, handwritten characters may be corrected. Accordingly, when such an operation is repeated, handwritten characters corrected sequentially may be displayed, and accordingly, two or more pieces of history data according to correction may be provided. For example, correction may be performed on a character-by-letter basis whenever the user writes one character at a time, and correspondingly, corrected handwritten characters on a character-by-letter basis may be sequentially displayed.

일 실시 예에서, 보정에 따른 히스토리 데이터가 둘 이상인 경우 전자 장치는 동작 1625에서, 마지막 히스토리 데이터를 제외한 나머지 히스토리 데이터를 삭제할 수 있다. 일 실시 예에 따르면, 마지막 히스토리 데이터 예를 들어, 1개의 히스토리 데이터만 남도록 나머지 히스토리 데이터를 삭제할 수도 있으나, 시스템에서 정한 히스토리 데이터의 수(예: N개)가 있는 경우 N개의 히스토리 데이터를 제외한 나머지 히스토리 데이터를 삭제할 수도 있다. In an embodiment, when there are two or more pieces of history data according to correction, the electronic device may delete remaining history data except for the last piece of history data in operation 1625. According to an embodiment, the remaining history data may be deleted so that only one piece of history data remains, for example, the last piece of history data. However, if there is a number of pieces of history data determined by the system (eg, N pieces), the remaining pieces of history data except for N pieces of history data may be present. You can also delete historical data.

반면, 보정에 따른 히스토리 데이터가 둘 이상이 아닌 경우 예를 들어, 보정에 따른 히스토리 데이터가 없는 경우에 해당할 경우 삭제할 데이터가 없는 상태이므로, 동작 1630에서 되돌리기 요청이 입력되는지를 판단할 수 있다. 되돌리기 요청은 예를 들어, 언두(undo) 요청, 또는 실행 취소 요청으로 지칭할 수 있다. On the other hand, when there is not two or more history data according to correction, for example, when there is no history data according to correction, since there is no data to be deleted, it may be determined in operation 1630 whether an undo request is input. An undo request may be referred to as, for example, an undo request or an undo request.

만일 되돌리기 요청이 입력되면, 동작 1635에서 전자 장치는 보정에 따른 히스토리 데이터가 있는지를 판단할 수 있다. 만일 보정에 따른 히스토리 데이터가 없는 경우에는 동작 1645에서 필기 입력 전으로 되돌리기를 수행할 수 있다. 반면 보정에 따른 히스토리 데이터가 있는 경우에는 동작 1640에서 보정 전으로 되돌리기를 수행할 수 있다. 이를 구체적으로 설명하기 위해 도 17을 참조할 수 있다. If a return request is input, in operation 1635, the electronic device may determine whether there is history data according to correction. If there is no history data according to the correction, in operation 1645, it is possible to return to before handwriting input. On the other hand, if there is history data according to the correction, in operation 1640, a return to the pre-correction state may be performed. 17 may be referred to for a detailed description of this.

도 17은 본 발명의 다양한 실시 예에 따른 필기 글자에 대한 보정 되돌리기에 따른 화면 예시도이다. 도 17에서는 필기 입력이나 스케치와 관련된 어플리케이션 수행에 따른 화면을 예시하고 있다. 첫 번째 화면(1705)에서는 필기 입력에 대응하여 보정된 필기 글자들(1707)이 표시되는 경우를 예시하고 있으며, 사용자가 되돌리기에 해당하는 아이템(1706)을 선택하면, 두 번째 화면(1710)에서와 같이 보정 전의 필기 글자들(1711)이 표시될 수 있다. 또한 사용자가 되돌리기에 해당하는 아이템(1706)을 2회 선택한 경우에는 세 번째 화면(1715)에서와 같이 필기 입력 전의 빈 영역(1716)을 가지는 화면이 표시될 수 있다. 이때, 되돌리기 요청의 횟수에 대응하여 두 번째 화면(1710)에서 세 번째 화면(1715)으로 순차적으로 되돌리기 동작에 따른 화면으로 변경될 수도 있으나, 다르게는 첫 번째 화면(1705)에서 바로 세 번째 화면(1715)으로 변경될 수도 있다. 17 is an exemplary view of a screen according to correction and recovery of handwritten characters according to various embodiments of the present disclosure. 17 illustrates a screen according to execution of an application related to handwriting input or sketching. The first screen 1705 illustrates a case in which handwritten characters 1707 corrected in response to a handwriting input are displayed, and when the user selects an item 1706 corresponding to undo, the second screen 1710 As such, the handwritten characters 1711 before correction may be displayed. Also, when the user selects the item 1706 corresponding to undo twice, as in the third screen 1715, a screen having a blank area 1716 before handwriting input may be displayed. At this time, the second screen 1710 to the third screen 1715 may be sequentially changed to the screen according to the revert operation in response to the number of revert requests, but otherwise, the first screen 1705 directly to the third screen ( 1715) may be changed.

상기한 바와 같이 필기 작성 후 첫 번째 되돌리기 동작은 보정 단위(예: 문장 단위, 어절 단위, 또는 글자 단위)에 대한 보정 취소로 동작할 수 있으며, 다음 되돌리기 동작은 필기 작성 자체에 대한 취소로 동작할 수 있다. 또한, 이후의 되돌리기 동작은 시스템에 설정된 1 ~ N 개까지 상기와 동일하게 동작하고, 그 1 ~ N개 이후의 되돌리기 동작은 필기 입력 자체에 대한 되돌리기로 동작할 수 있다. As described above, the first undo operation after writing the handwriting can operate as correction cancellation for a correction unit (eg, sentence unit, word unit, or character unit), and the next undo operation can operate as a cancellation for the handwriting itself. can In addition, subsequent undo operations operate in the same manner as described above up to 1 to N numbers set in the system, and 1 to N and subsequent undo operations may operate as undo operations for the handwriting input itself.

한편 전술한 바에서는 보정된 필기 글자들에 대한 되돌리기 요청의 입력에 대응하여, 보정되기 이전의 필기 글자들을 표시하거나 최초 필기 입력 이전의 화면이 표시되는 경우를 설명하였으나, 되돌리기 요청과는 반대로 되돌리기 자체를 취소할 수 있다. 되돌리기의 취소는 예를 들어, 리두(redo), 또는 되돌리기 복구와 같은 경우를 지칭할 수 있으며, 되돌리기의 취소 요청이 입력되는 경우 필기 입력이 복구되거나 필기 글자에 대한 보정으로 복구될 수 있다. 예를 들어, 되돌리기 취소의 경우 가장 최근에 입력된 필기 데이터를 기준으로 설정된 되돌리기 취소 가능 횟수만큼 필기 입력의 복구로부터 보정 복구의 순으로 순차적으로 복구될 수 있으며, 이에 대응하는 복구 화면이 표시될 수 있다. Meanwhile, in the foregoing, in response to the input of a return request for the corrected handwritten characters, the case where the handwritten characters before correction or the screen before the first handwritten input is displayed has been described, but the reverse itself, contrary to the request for reverting, is displayed. can be canceled. Cancellation of redo may refer to cases such as redo or redo recovery, and when a request for canceling redo is input, the handwritten input may be restored or the handwritten character may be corrected. For example, in the case of canceling undo, it can be restored sequentially in the order of restoration of handwriting input to restoration of correction by the number of undo cancellations set based on the most recently input handwriting data, and a recovery screen corresponding to this can be displayed. have.

본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of this document is not limited to the aforementioned devices.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "A, Each of the phrases such as "at least one of B or C" may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in this document may include a unit implemented by hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document describe one or more commands stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120) of a device (eg, the electronic device 101) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities.

다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the components described above may include a singular object or a plurality of entities. According to various embodiments, one or more components or operations among the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by modules, programs, or other components are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.

다양한 실시 예에 따르면, 명령들을 저장하고 복수의 기준 서체 특성값들을 저장하고 있는 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 전자 장치(예: 도 1 및 도 2의 전자 장치(101))의 디스플레이(예: 표시 장치(160))를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하는 동작, 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하는 동작, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값에 대응되는 기준 서체 특성값을 선택하는 동작 및 상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 보정하며, 상기 보정된 필기 글자들을 상기 디스플레이(예: 표시 장치(160))에 표시하는 동작을 포함할 수 있다. 일 실시 예에 따르면, 상기 필기 글자들을 보정하는 동작은, 상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하는 동작을 포함할 수 있다. According to various embodiments of the present disclosure, in a storage medium storing instructions and storing a plurality of reference font characteristic values, the instructions cause the at least one processor to perform at least one operation when executed by at least one processor. As set, the at least one operation is performed when writing data is input through a display (eg, the display device 160) of an electronic device (eg, the electronic device 101 of FIGS. 1 and 2 ). An operation of recognizing handwritten characters corresponding to , an operation of checking font characteristic values for the recognized handwritten characters, and selecting a reference font characteristic value corresponding to the checked font characteristic value among the plurality of reference font characteristic values. and correcting at least one of the position, size, letter spacing, or character width of the handwritten characters based on the selected reference font characteristic value, and displaying the corrected handwritten characters on the display (e.g., the display device 160). It may include an action to display. According to an embodiment, the operation of correcting the handwritten characters may include at least one of the location, size, spacing, or character width of the handwritten characters based on the location and size of a character area formed by the selected reference font characteristic value. It may include an action to adjust one.

그리고 본 명세서와 도면에 발명된 본 발명의 실시 예들은 본 발명의 실시 예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시 예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시 예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시 예의 범위는 여기에 발명된 실시 예들 이외에도 본 발명의 다양한 실시 예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시 예의 범위에 포함되는 것으로 해석되어야 한다.In addition, the embodiments of the present invention described in the present specification and drawings are only presented as specific examples to easily explain the technical content according to the embodiments of the present invention and help understanding of the embodiments of the present invention, and the scope of the embodiments of the present invention is not intended to limit Therefore, the scope of various embodiments of the present invention should be construed as including all changes or modified forms derived based on the technical spirit of various embodiments of the present invention in addition to the embodiments disclosed herein are included in the scope of various embodiments of the present invention. .

101: 전자 장치, 120: 프로세서, 130: 메모리, 150: 입력 장치, 160: 표시 장치, 190: 통신 모듈101: electronic device, 120: processor, 130: memory, 150: input device, 160: display device, 190: communication module

Claims (20)

전자 장치에 있어서,
디스플레이;
프로세서; 및
상기 디스플레이 및 상기 프로세서에 작동적으로 연결되고, 복수의 기준 서체 특성값들을 저장하도록 구성된 메모리를 포함하며,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하고,
상기 인식된 필기 글자들에 대한 캡 하이트(cap height), 엑스 하이트(x-height), 또는 디센더(descender) 중 적어도 하나의 수직 특성값을 포함하는 서체 특성값을 확인하고,
상기 확인된 서체 특성값에 포함된 적어도 하나의 수직 특성값과, 상기 복수의 기준 서체 특성값들 각각에 포함된 적어도 하나의 수직 특성값 간의 적어도 일부를 비교하고,
상기 비교 결과에 기반하여, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택하고,
상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하여 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장하는 전자 장치.
In electronic devices,
display;
processor; and
a memory operatively connected to the display and the processor and configured to store a plurality of reference font characteristic values;
The memory, when executed, the processor,
When handwriting data is input through the display, handwritten characters corresponding to the input handwriting data are recognized;
Checking a font characteristic value including at least one vertical characteristic value among a cap height, an x-height, and a descender for the recognized handwritten characters;
comparing at least a part between at least one vertical characteristic value included in the checked font characteristic value and at least one vertical characteristic value included in each of the plurality of reference font characteristic values;
Based on the comparison result, selecting a reference font characteristic value having a characteristic value having the smallest difference from the identified font characteristic value among the plurality of reference font characteristic values;
An electronic device that stores instructions for correcting the handwritten characters based on the selected reference font characteristic value and displaying them on the display.
제 1항에 있어서, 상기 인스트럭션들은, 상기 프로세서가,
상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하도록 설정된 전자 장치.
The method of claim 1, wherein the instructions, the processor,
The electronic device configured to adjust at least one of the position, size, spacing, and character width of the handwritten characters based on the location and size of the character area formed by the selected reference font characteristic value.
삭제delete 삭제delete 삭제delete 제 1항에 있어서, 상기 인스트럭션들은, 상기 프로세서가,
상기 인식된 필기 글자들에 대한 보정 단위를 확인하고, 상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정하도록 설정되며,
상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정한 후 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하도록 하며, 상기 확인된 보정 단위로 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조절하도록 설정되며,
상기 보정 단위는, 문장 단위, 어간 단위 또는 글자 단위 중 적어도 하나를 포함하는, 전자 장치.
The method of claim 1, wherein the instructions, the processor,
It is set to check a correction unit for the recognized handwritten characters, and correct the inclination of the recognized handwritten characters with the checked correction unit;
After correcting the inclination of the recognized handwritten characters in the identified correction unit, the font characteristic values of the recognized handwritten characters are checked, and the position, size, and spacing of the handwritten characters in the identified correction unit. , or set to adjust at least one of the character widths,
The correction unit includes at least one of a sentence unit, a stem unit, or a character unit.
삭제delete 삭제delete 제 1항에 있어서, 상기 인스트럭션들은, 상기 프로세서가,
상기 보정된 필기 글자들이 표시되는 상태에서 되돌리기 요청이 수신되면, 상기 되돌리기 요청에 대응하여 상기 보정된 필기 글자들이 표시되기 전 상태 또는 상기 필기 데이터 입력 전 상태에 대응하는 화면을 상기 디스플레이에 출력하도록 설정된 전자 장치.
The method of claim 1, wherein the instructions, the processor,
When a request for reverting is received while the corrected handwritten characters are displayed, a screen corresponding to a state before displaying the corrected handwritten characters or a state before inputting the handwritten data is output to the display in response to the request for reverting. electronic device.
전자 장치에서 필기 입력에 대한 보정 방법에 있어서,
상기 전자 장치의 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하는 동작;
상기 인식된 필기 글자들에 대한 캡 하이트(cap height), 엑스 하이트(x-height), 또는 디센더(descender) 중 적어도 하나의 수직 특성값을 포함하는 서체 특성값을 확인하는 동작;
상기 확인된 서체 특성값에 포함된 적어도 하나의 수직 특성값과, 상기 전자 장치의 메모리에 저장된 복수의 기준 서체 특성값들 각각에 포함된 적어도 하나의 수직 특성값 간의 적어도 일부를 비교하는 동작;
상기 비교 결과에 기반하여, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택하는 동작; 및
상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들을 보정하며, 상기 보정된 필기 글자들을 상기 전자 장치의 디스플레이에 표시하는 동작을 포함하는 필기 입력에 대한 보정 방법.
A method for correcting handwriting input in an electronic device,
recognizing handwritten characters corresponding to the input handwriting data when writing data is input through the display of the electronic device;
checking a font characteristic value including at least one vertical characteristic value among a cap height, an x-height, and a descender of the recognized handwritten characters;
comparing at least a part between at least one vertical characteristic value included in the checked font characteristic value and at least one vertical characteristic value included in each of a plurality of reference font characteristic values stored in a memory of the electronic device;
based on the comparison result, selecting a reference font characteristic value having a characteristic value having the smallest difference from the identified font characteristic value among the plurality of reference font characteristic values; and
and correcting the handwritten characters based on the selected reference font characteristic value and displaying the corrected handwritten characters on a display of the electronic device.
제 10항에 있어서, 상기 필기 글자들을 보정하는 동작은,
상기 선택된 기준 서체 특성값에 의해 형성되는 글자 영역의 위치 및 크기에 기초하여, 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하는 동작을 포함하는 필기 입력에 대한 보정 방법.
11. The method of claim 10, wherein the correcting of the handwritten characters comprises:
and adjusting at least one of the position, size, spacing, and character width of the handwritten characters based on the location and size of the character area formed by the selected reference font characteristic value.
삭제delete 삭제delete 삭제delete 제 10항에 있어서,
상기 인식된 필기 글자들에 대한 보정 단위를 확인하는 동작; 및
상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정하는 동작을 더 포함하며,
상기 보정 단위는, 문장 단위, 어간 단위 또는 글자 단위 중 적어도 하나를 포함하는 필기 입력에 대한 보정 방법.
According to claim 10,
checking a correction unit for the recognized handwritten characters; and
Further comprising correcting the inclination of the recognized handwritten characters in the identified correction unit,
The correction unit includes at least one of a sentence unit, a stem unit, and a character unit.
삭제delete 제 15항에 있어서, 상기 필기 글자들을 보정하는 동작은,
상기 확인된 보정 단위로 상기 인식된 필기 글자들에 대한 기울기를 보정한 후 상기 인식된 필기 글자들에 대한 서체 특성값을 확인하는 동작; 및
상기 확인된 보정 단위로 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 조정하는 동작을 포함하는 필기 입력에 대한 보정 방법.
The method of claim 15, wherein the correcting of the handwritten characters comprises:
verifying font characteristic values of the recognized handwritten characters after correcting the inclination of the recognized handwritten characters in the identified correction unit; and
and adjusting at least one of a position, size, letter spacing, or character width of the handwritten characters in the checked correction unit.
제 10항에 있어서,
상기 보정된 필기 글자들이 표시되는 상태에서 되돌리기 요청이 수신되면, 상기 되돌리기 요청에 대응하여 상기 보정된 필기 글자들이 표시되기 전 상태 또는 상기 필기 데이터 입력 전 상태에 대응하는 화면을 상기 디스플레이에 표시하는 동작을 더 포함하는 필기 입력에 대한 보정 방법.
According to claim 10,
If a return request is received while the corrected handwritten characters are displayed, displaying a screen corresponding to a state before displaying the corrected handwritten characters or a state before inputting the handwritten data in response to the return request on the display. A correction method for handwriting input further comprising a.
명령들을 저장하고 복수의 기준 서체 특성값들을 저장하고 있는 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은,
전자 장치의 디스플레이를 통한 필기 데이터 입력 시, 상기 입력된 필기 데이터에 대응하는 필기 글자들을 인식하는 동작;
상기 인식된 필기 글자들에 대한 캡 하이트(cap height), 엑스 하이트(x-height), 또는 디센더(descender) 중 적어도 하나의 수직 특성값을 포함하는 서체 특성값을 확인하는 동작;
상기 확인된 서체 특성값에 포함된 적어도 하나의 수직 특성값과, 상기 복수의 기준 서체 특성값들 각각에 포함된 적어도 하나의 수직 특성값 간의 적어도 일부를 비교하는 동작;
상기 비교 결과에 기반하여, 상기 복수의 기준 서체 특성값들 중 상기 확인된 서체 특성값과의 차이가 가장 적은 특성값을 갖는 기준 서체 특성값을 선택하는 동작; 및
상기 선택된 기준 서체 특성값에 기반하여 상기 필기 글자들의 위치, 크기, 자간, 또는 글자 폭 중 적어도 하나를 보정하며, 상기 보정된 필기 글자들을 상기 디스플레이에 표시하는 동작을 포함하는, 저장 매체.
A storage medium storing instructions and storing a plurality of reference font characteristic values, the instructions being configured to cause the at least one processor to perform at least one operation when executed by the at least one processor, wherein the at least one the action of
recognizing handwritten characters corresponding to the input handwriting data when writing data is input through a display of an electronic device;
checking a font characteristic value including at least one vertical characteristic value among a cap height, an x-height, and a descender of the recognized handwritten characters;
comparing at least a part between at least one vertical characteristic value included in the checked font characteristic value and at least one vertical characteristic value included in each of the plurality of reference font characteristic values;
based on the comparison result, selecting a reference font characteristic value having a characteristic value having the smallest difference from the identified font characteristic value among the plurality of reference font characteristic values; and
and correcting at least one of a position, size, spacing, or character width of the handwritten characters based on the selected reference font characteristic value, and displaying the corrected handwritten characters on the display.
삭제delete
KR1020180111580A 2018-09-18 2018-09-18 Correction method for handwriting input, electronic device and storage medium therefor KR102468082B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020180111580A KR102468082B1 (en) 2018-09-18 2018-09-18 Correction method for handwriting input, electronic device and storage medium therefor
PCT/KR2019/011926 WO2020060121A1 (en) 2018-09-18 2019-09-16 Correction method for handwriting input, and electronic device and storage medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180111580A KR102468082B1 (en) 2018-09-18 2018-09-18 Correction method for handwriting input, electronic device and storage medium therefor

Publications (2)

Publication Number Publication Date
KR20200032492A KR20200032492A (en) 2020-03-26
KR102468082B1 true KR102468082B1 (en) 2022-11-18

Family

ID=69887602

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180111580A KR102468082B1 (en) 2018-09-18 2018-09-18 Correction method for handwriting input, electronic device and storage medium therefor

Country Status (2)

Country Link
KR (1) KR102468082B1 (en)
WO (1) WO2020060121A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220017231A (en) * 2020-08-04 2022-02-11 삼성전자주식회사 Electronic device and method for processing handwriting input thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9423485B2 (en) * 2011-12-16 2016-08-23 Qualcomm Incorporated Systems and methods for predicting an expected blockage of a signal path of an ultrasound signal
KR101967632B1 (en) * 2012-02-13 2019-04-11 삼성전자주식회사 Tablet having user interface
KR20130128681A (en) * 2012-05-17 2013-11-27 삼성전자주식회사 Method for correcting character style and an electronic device thereof
KR20160062566A (en) * 2014-11-25 2016-06-02 삼성전자주식회사 Device and method for amend hand-writing characters
KR20160102811A (en) * 2015-02-23 2016-08-31 엘지전자 주식회사 Mobile terminal that can control handwriting relevant function through gesture of the hand which is worn a wrist wearable device and method for controlling the same
KR20180089640A (en) * 2017-02-01 2018-08-09 국민대학교산학협력단 Electronic pen apparatus

Also Published As

Publication number Publication date
WO2020060121A1 (en) 2020-03-26
KR20200032492A (en) 2020-03-26

Similar Documents

Publication Publication Date Title
CN107003994B (en) Method and apparatus for correcting handwritten characters
US10430648B2 (en) Method of processing content and electronic device using the same
KR102457894B1 (en) Method and device for translating text displayed on display
US9378427B2 (en) Displaying handwritten strokes on a device according to a determined stroke direction matching the present direction of inclination of the device
KR102347554B1 (en) Systems and methods for beautifying digital ink
US8989496B2 (en) Electronic apparatus and handwritten document processing method
US20200242825A1 (en) Electronic device and method for correcting handwriting by same
US20150346996A1 (en) Electronic apparatus and method
US20220374142A1 (en) Display apparatus, color supporting apparatus, display method, and program
US20240029461A1 (en) Electronic device for processing handwriting input on basis of learning, operation method thereof, and storage medium
EP4177728A1 (en) Electronic device and method for operating keypad of electronic device
US20230394721A1 (en) Information processing apparatus, program, and system
KR102468082B1 (en) Correction method for handwriting input, electronic device and storage medium therefor
EP4177727A1 (en) Electronic device, and method for processing writing input thereof
EP4170545A1 (en) Method and device for aligning handwriting
KR102570007B1 (en) Method and electronic device for correcting handwriting input
KR20230080120A (en) Electronic device and method for masking and unmasking of handwritten information in electronic device
KR20220006237A (en) Electronic device for converting handwriting to text and method thereof
US11586352B2 (en) Method for setting layout for physical keyboard by electronic device, and device therefor
KR102458719B1 (en) Electronic apparatus for supporting user input and controlling method thereof
KR20230017538A (en) Electronic device and the method to recognize handwriting
US11995308B2 (en) Method and device for providing handwriting input in electronic device
US12026850B2 (en) Electronic device, and method for processing writing input thereof
US12019861B2 (en) Electronic apparatus and the method for controlling thereof
US20240020996A1 (en) Electronic device and method for identifying sentence indicated by strokes

Legal Events

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